views:

64

answers:

1

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 advance!

+2  A: 

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.

Vivi
Thanks, that is exactly what i was looking for
mksuth