Skip to content

Instantly share code, notes, and snippets.

@syohex
Created November 5, 2012 14:05
Show Gist options
  • Save syohex/4017336 to your computer and use it in GitHub Desktop.
Save syohex/4017336 to your computer and use it in GitHub Desktop.
move window easily with smartrep
(require 'smartrep)
(setq windmove-wrap-around t)
(windmove-default-keybindings)
(smartrep-define-key
global-map "M-s" '(("h" . 'windmove-left)
("j" . 'windmove-down)
("k" . 'windmove-up)
("l" . 'windmove-right)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment