From 70603e55279258b6e3c950bd0de400ef2b9a2bad Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 19 Jun 2012 12:09:50 +0000 Subject: [PATCH] appcur mode - home/end need different handling. SVN revision: 72473 --- src/bin/keyin.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/bin/keyin.c b/src/bin/keyin.c index 3c871fe6..75d5b393 100644 --- a/src/bin/keyin.c +++ b/src/bin/keyin.c @@ -34,6 +34,8 @@ static const Keyout appcur_keyout[] = KEY("Right", "\033OC"), KEY("Up", "\033OA"), KEY("Down", "\033OB"), + KEY("Home", "\033[7~"), + KEY("End", "\033[8~"), KEY(NULL, "END") }; @@ -78,15 +80,8 @@ static const Keyout keyout[] = KEY("Down", "\033[B"), // KEY("Tab", "\t"), // KEY("ISO_Left_Tab", "\t"), - -//// PROBLEM: vim needs these to work -// KEY("Home", "\033[7~"), -// KEY("End", "\033[8~"), -//// BUT: shells nedd these to work (emacs style) KEY("Home", "\033[H"), KEY("End", "\033[F"), -//// - KEY("Prior", "\033[5~"), KEY("Next", "\033[6~"), KEY("Insert", "\033[2~"),