From 9c102387aff079b513533e93bb2a8109ccc1492c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 3 May 2006 21:26:49 +0000 Subject: updated for version 7.0g02 --- src/getchar.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'src/getchar.c') diff --git a/src/getchar.c b/src/getchar.c index 88e724ff31..7d2cfd786c 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -3034,6 +3034,7 @@ do_map(maptype, arg, mode, abbrev) mapblock_T **map_table; int unique = FALSE; int silent = FALSE; + int special = FALSE; #ifdef FEAT_EVAL int expr = FALSE; #endif @@ -3075,6 +3076,16 @@ do_map(maptype, arg, mode, abbrev) continue; } + /* + * Check for "": accept special keys in <> + */ + if (STRNCMP(keys, "", 9) == 0) + { + keys = skipwhite(keys + 9); + special = TRUE; + continue; + } + #ifdef FEAT_EVAL /* * Check for "