commit 6df5f419d17c69601d2fd142325b1b82b1c397a2 parent 669a7174040d2a5d69fb6285e8294ca5f0f11362 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Fri, 6 Jun 2014 12:48:56 +0200 add C-x window navigation binds Diffstat:
M | .emacs.d/init.el | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.emacs.d/init.el b/.emacs.d/init.el @@ -222,8 +222,12 @@ ;; Use the clipboard, pretty please, so that copy/paste "works" (setq x-select-enable-clipboard t) -;; Navigate windows with M-<arrows> -(windmove-default-keybindings 'meta) +; Navigate windows +(global-set-key (kbd "C-x h") 'windmode-left) +(global-set-key (kbd "C-x j") 'windmode-down) +(global-set-key (kbd "C-x k") 'windmode-up) +(global-set-key (kbd "C-x l") 'windmode-right) +(global-set-key (kbd "C-x C-x") 'other-window) (setq windmove-wrap-around t) ; winner-mode provides C-<left> to get back to previous window layout