Saturday, 18 September 2010

Emacs

I hate the Winows/CUA binding for the Home and End keys.  To make them go to the start and end of the document instead of the line add this to .emacs:

(global-set-key [kp-home]  'beginning-of-buffer) ; [Home]
(global-set-key [home]     'beginning-of-buffer) ; [Home]
(global-set-key [kp-end]   'end-of-buffer)       ; [End]
(global-set-key [end]      'end-of-buffer)       ; [End]

Many thanks to http://geosoft.no/development/emacs.html

Posted via email from kwhitefoot's posterous

No comments:

Post a Comment

Followers