From bc7aa85d8a1c3e5c74b68225702bd5b83b4a8f56 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 6 Mar 2005 23:38:09 +0000 Subject: updated for version 7.0056 --- src/getchar.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/getchar.c') diff --git a/src/getchar.c b/src/getchar.c index e93ce05290..c06b600768 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -4530,6 +4530,7 @@ check_map(keys, mode, exact) } #endif +#if defined(MSDOS) || defined(MSWIN) || defined(OS2) || defined(MACOS) /* * Default mappings for some often used keys. */ @@ -4609,6 +4610,7 @@ static struct initmap {(char_u *)" \"-d", VISUAL}, #endif +#if 0 /* Map extra keys to their normal equivalents. */ {(char_u *)" ", NORMAL+VISUAL+OP_PENDING}, {(char_u *)" ", INSERT+CMDLINE}, @@ -4630,7 +4632,9 @@ static struct initmap {(char_u *)" ", INSERT+CMDLINE}, {(char_u *)" ", NORMAL+VISUAL+OP_PENDING}, {(char_u *)" ", INSERT+CMDLINE}, +#endif }; +#endif /* * Set up default mappings. @@ -4638,10 +4642,12 @@ static struct initmap void init_mappings() { +#if defined(MSDOS) || defined(MSWIN) || defined(OS2) || defined(MACOS) int i; for (i = 0; i < sizeof(initmappings) / sizeof(struct initmap); ++i) add_map(initmappings[i].arg, initmappings[i].mode); +#endif } /* -- cgit v1.2.3