From 7ee90a9e2b6cbb758920642b3c9857841d0aa190 Mon Sep 17 00:00:00 2001 From: William King Date: Fri, 5 Jun 2015 09:27:50 -0700 Subject: [PATCH] Fix for emacs screen arrow key disease --- support-d/.emacs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/support-d/.emacs b/support-d/.emacs index d895761034..bc22573edd 100644 --- a/support-d/.emacs +++ b/support-d/.emacs @@ -206,6 +206,19 @@ +;; Fix for arrow key disease + + +(define-key function-key-map "\eOA" [up]) +(define-key function-key-map "\e[A" [up]) +(define-key function-key-map "\eOB" [down]) +(define-key function-key-map "\e[B" [down]) +(define-key function-key-map "\eOC" [right]) +(define-key function-key-map "\e[C" [right]) +(define-key function-key-map "\eOD" [left]) +(define-key function-key-map "\e[D" [left]) + +