Hotkeys for moving windows in emacs

  |   Source

for moving windows in emacs :emacs:linux:en:

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

My hotkeys are different from EmacsWiki because:

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

Here is setup:

(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 original assigned to join-line.

Comments powered by Disqus