I'm using spacemacs and I've added the following user config:
(defun dotspacemacs/user-config ()
"Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration.
This is the place where most of your configurations should be done. Unless it is
explicitly specified that a variable should be set before a package is loaded,
you should place your code here."
(global-set-key (kbd "s-right") 'end-of-line)
(spacemacs/set-leader-keys "fd" 'ac-php-find-symbol-at-point) ;goto define
)
However, s-right
doesn't seem to do what I want. What I want is when I press CMD + arrow-right
it should jump to the end of the line.