Skip to content

Instantly share code, notes, and snippets.

@rurumimic
Created February 2, 2018 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rurumimic/b06896e36e6679bfe04d464a11035a0c to your computer and use it in GitHub Desktop.
Save rurumimic/b06896e36e6679bfe04d464a11035a0c to your computer and use it in GitHub Desktop.
Emacs Wind Move

.emacs.d/init.el

(when (fboundp 'windmove-default-keybindings)
  (windmove-default-keybindings))
  
(windmove-default-keybindings 'meta)

(global-set-key (kbd "C-c <left>")  'windmove-left)
(global-set-key (kbd "C-c <right>") 'windmove-right)
(global-set-key (kbd "C-c <up>")    'windmove-up)
(global-set-key (kbd "C-c <down>")  'windmove-down)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment