EMACS: windmove change

This commit is contained in:
Tom Willemsen 2011-09-14 13:36:17 +02:00
parent b5a683f8b3
commit 1377acf25f

View file

@ -378,6 +378,9 @@
("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")))
;;-----[ Windmove ]------------------------------------------------------
(windmove-default-keybindings 'meta)
;;-----[ Misc ]----------------------------------------------------------
(defun oni/reload-buffer
(interactive)
@ -427,10 +430,6 @@
(global-set-key "\C-m" 'newline-and-indent)
(global-set-key (kbd "C-x n r") 'narrow-to-region)
(global-set-key [f5] 'oni/reload-buffer)
(global-set-key [M-left] 'windmove-left)
(global-set-key [M-right] 'windmove-right)
(global-set-key [M-up] 'windmove-up)
(global-set-key [M-down] 'windmove-down)
(add-hook 'before-save-hook 'oni/before-save-hook)
(add-hook 'after-save-hook 'oni/after-save-hook)