Anyone knows what needs changing in OSX .emacs to get Command-left to act as C-a and move the cursor to beginning of line? The same for Command-right, I'd like to map it to move the cursor to end of line.
(global-set-key (kbd "<s-right>") 'move-end-of-line)
(global-set-key (kbd "<s-left>") 'move-beginning-of-line)
For a generic method see http://superuser.com/a/418251/130126
4 years ago