Faster point movement
February 21, 2008
My day job doesn’t include a lot of Lisp hacking.
On the positive side, though, this means that I’m free to redefine "M-C-p" (backward-list) and "M-C-n" (forward-list), because I never use them.
So here is today’s init.el addition:
(global-set-key "\M-\C-p" '(lambda () (interactive) (previous-line 5))) (global-set-key "\M-\C-n" '(lambda () (interactive) (next-line 5)))
I use a rather small font, so my 1600×1200 monitors can hold a lot of lines. This snippet allows me to move 5 lines at a time instead of one.