From 5647f1a883ee2e4f7012287182abfbe56577f4b8 Mon Sep 17 00:00:00 2001 From: Gleb Peregud Date: Fri, 24 Feb 2012 16:43:59 +0100 Subject: [PATCH] add missing keys to restore --- modules/prelude-core.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/prelude-core.el b/modules/prelude-core.el index a7da9f2..c766496 100644 --- a/modules/prelude-core.el +++ b/modules/prelude-core.el @@ -352,10 +352,12 @@ there's a region, all lines that region covers will be duplicated." (defun prelude-restore-arrow-keys () "Restores arrow keys navigation in buffers." (interactive) - (global-set-key (kbd "") 'previous-line) - (global-set-key (kbd "") 'next-line) - (global-set-key (kbd "") 'backward-char) - (global-set-key (kbd "") 'forward-char) + (global-set-key [up] 'previous-line) + (global-set-key [down] 'next-line) + (global-set-key [left] 'backward-char) + (global-set-key [right] 'forward-char) + (global-set-key [M-right] 'right-word) + (global-set-key [M-left] 'left-word) (message "Arrow keys navigation in buffers in now allowed.")) (provide 'prelude-core)