From 52332899cbc0ada3120d9d5ca76f48aa8d340c3a Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 19 Jun 2012 12:07:09 +0000 Subject: [PATCH] make note of shell vs vim for home/end SVN revision: 72472 --- src/bin/keyin.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bin/keyin.c b/src/bin/keyin.c index 6952ffa2..3c871fe6 100644 --- a/src/bin/keyin.c +++ b/src/bin/keyin.c @@ -78,11 +78,15 @@ static const Keyout keyout[] = KEY("Down", "\033[B"), // KEY("Tab", "\t"), // KEY("ISO_Left_Tab", "\t"), -//// non-xterm escapes. for xterm we want the next 2 + +//// 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~"),