Hotkeys for moving windows in emacs

  |   Source

See http://www.emacswiki.org/emacs/WindMove for details.

My hotkeys are different from emacswiki because:

  • I was a vi guy, I prefer H,J,K,L for navigation.
  • Arrow keys does not work on my terminal simulators.

    Here is my hotkeys:


(when (fboundp 'windmove-left)
  (global-set-key "\C-ch" 'windmove-left)
  (global-set-key "\C-cj" 'windmove-down)
  (global-set-key "\C-ck" 'windmove-up)
  (global-set-key "\C-cl" 'windmove-right))

Note: C-c j is originall hokey of function join-line.

Comments powered by Disqus