How to define shortcuts using the mac 'command' key in aquamacs (or emacs)
How can I define an aquamacs keyboard shortcut using the mac command key. I'd like 'command'-k to act like ctrl-k (kill line). Thanks in a开发者_C百科dvance!
Put this in your .emacs file:
(global-set-key (kbd "A-k") 'kill-line)
Then you can either press C-x C-e with the pointer at the end of this line to make the command active, or you can save the file and re-start emacs.
精彩评论