summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-03-07 23:00:57 +0000
committerBram Moolenaar <Bram@vim.org>2005-03-07 23:00:57 +0000
commit52b4b557a26e742a14bd6da4dff55f8e167af04e (patch)
tree24819991f79c161619215d656d867d8aebd48472 /src/getchar.c
parentd62bec86bfe1eebc0924113b4279cdadf523f430 (diff)
updated for version 7.0057
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c27
1 files changed, 3 insertions, 24 deletions
diff --git a/src/getchar.c b/src/getchar.c
index c06b600768..8faa5f5908 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -4609,30 +4609,6 @@ static struct initmap
{(char_u *)"<D-x> \"*d", VISUAL},
{(char_u *)"<Backspace> \"-d", VISUAL},
#endif
-
-#if 0
- /* Map extra keys to their normal equivalents. */
- {(char_u *)"<xF1> <F1>", NORMAL+VISUAL+OP_PENDING},
- {(char_u *)"<xF1> <F1>", INSERT+CMDLINE},
- {(char_u *)"<xF2> <F2>", NORMAL+VISUAL+OP_PENDING},
- {(char_u *)"<xF2> <F2>", INSERT+CMDLINE},
- {(char_u *)"<xF3> <F3>", NORMAL+VISUAL+OP_PENDING},
- {(char_u *)"<xF3> <F3>", INSERT+CMDLINE},
- {(char_u *)"<xF4> <F4>", NORMAL+VISUAL+OP_PENDING},
- {(char_u *)"<xF4> <F4>", INSERT+CMDLINE},
- {(char_u *)"<S-xF1> <S-F1>", NORMAL+VISUAL+OP_PENDING},
- {(char_u *)"<S-xF1> <S-F1>", INSERT+CMDLINE},
- {(char_u *)"<S-xF2> <S-F2>", NORMAL+VISUAL+OP_PENDING},
- {(char_u *)"<S-xF2> <S-F2>", INSERT+CMDLINE},
- {(char_u *)"<S-xF3> <S-F3>", NORMAL+VISUAL+OP_PENDING},
- {(char_u *)"<S-xF3> <S-F3>", INSERT+CMDLINE},
- {(char_u *)"<S-xF4> <S-F4>", NORMAL+VISUAL+OP_PENDING},
- {(char_u *)"<S-xF4> <S-F4>", INSERT+CMDLINE},
- {(char_u *)"<xEND> <END>", NORMAL+VISUAL+OP_PENDING},
- {(char_u *)"<xEND> <END>", INSERT+CMDLINE},
- {(char_u *)"<xHOME> <HOME>", NORMAL+VISUAL+OP_PENDING},
- {(char_u *)"<xHOME> <HOME>", INSERT+CMDLINE},
-#endif
};
#endif
@@ -4650,6 +4626,8 @@ init_mappings()
#endif
}
+#if defined(MSDOS) || defined(MSWIN) || defined(OS2) \
+ || defined(FEAT_CMDWIN) || defined(MACOS) || defined(PROTO)
/*
* Add a mapping "map" for mode "mode".
* Need to put string in allocated memory, because do_map() will modify it.
@@ -4671,3 +4649,4 @@ add_map(map, mode)
}
p_cpo = cpo_save;
}
+#endif