This is BrainLog, a blog by Dan Sanderson. Older entries, from October 1999 through September 2010, are preserved for posterity, but are no longer maintained. See the front page and newer entries.

 
 

emacs: May 2008 Archives

May 8, 2008

Via M-x all-things-emacs, an Emacs feature I've always wanted and has been there all along: navigating between windows using cursor keys.

(windmove-default-keybindings)

Shift + a cursor key moves to the window in that direction from the current window. You can change the modifier from Shift with an argument to this function:

(windmove-default-keybindings 'meta)

Or you can pick your own key bindings for the windmove-* functions, where * is up, down, left or right.

I am never typing C-x o again.