jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/vim-7.0-fixkeys.patch

df7669
--- vim70aa/src/term.c.orig	2006-03-01 23:07:55.000000000 +0100
df7669
+++ vim70aa/src/term.c	2006-03-14 15:39:12.000000000 +0100
df7669
@@ -1008,14 +1008,14 @@
df7669
     {K_XRIGHT,		IF_EB("\033[1;*C", ESC_STR "[1;*C")},
df7669
     {K_XLEFT,		IF_EB("\033[1;*D", ESC_STR "[1;*D")},
df7669
     /* An extra set of function keys for vt100 mode */
df7669
-    {K_XF1,		IF_EB("\033O*P", ESC_STR "O*P")},
df7669
-    {K_XF2,		IF_EB("\033O*Q", ESC_STR "O*Q")},
df7669
-    {K_XF3,		IF_EB("\033O*R", ESC_STR "O*R")},
df7669
-    {K_XF4,		IF_EB("\033O*S", ESC_STR "O*S")},
df7669
-    {K_F1,		IF_EB("\033[11;*~", ESC_STR "[11;*~")},
df7669
-    {K_F2,		IF_EB("\033[12;*~", ESC_STR "[12;*~")},
df7669
-    {K_F3,		IF_EB("\033[13;*~", ESC_STR "[13;*~")},
df7669
-    {K_F4,		IF_EB("\033[14;*~", ESC_STR "[14;*~")},
df7669
+    {K_XF1,             IF_EB("\033[11~", ESC_STR "[11~")},
df7669
+    {K_XF2,             IF_EB("\033[12~", ESC_STR "[12~")},
df7669
+    {K_XF3,             IF_EB("\033[13~", ESC_STR "[13~")},
df7669
+    {K_XF4,             IF_EB("\033[14~", ESC_STR "[14~")},
df7669
+    {K_F1,              IF_EB("\033OP", ESC_STR "OP")},
df7669
+    {K_F2,              IF_EB("\033OQ", ESC_STR "OQ")},
df7669
+    {K_F3,              IF_EB("\033OR", ESC_STR "OR")},
df7669
+    {K_F4,              IF_EB("\033OS", ESC_STR "OS")},
df7669
     {K_F5,		IF_EB("\033[15;*~", ESC_STR "[15;*~")},
df7669
     {K_F6,		IF_EB("\033[17;*~", ESC_STR "[17;*~")},
df7669
     {K_F7,		IF_EB("\033[18;*~", ESC_STR "[18;*~")},