From 8424a624ce1c38716deabd47f4da23f1e81614bd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 19 Apr 2006 21:23:36 +0000 Subject: updated for version 7.0e03 --- runtime/doc/map.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'runtime/doc/map.txt') diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 3ed090ab28..506ca2403f 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 7.0e. Last change: 2006 Apr 11 +*map.txt* For Vim version 7.0e. Last change: 2006 Apr 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -239,6 +239,16 @@ Here is an example that inserts a list number that increases: > CTRL-L inserts the next number, CTRL-R resets the count. CTRL-R returns an empty string, so that nothing is inserted. +Note that there are some tricks to make special keys work and escape CSI bytes +in the text. The |:map| command also does this, thus you must avoid that it +is done twice. This does not work: > + :imap "" +Because the . This does work: > + :imap "\u611B" +Using 0x80 as a single byte before other text does not work, it will be seen +as a special key. + 1.3 MAPPING AND MODES *:map-modes* -- cgit v1.2.3