diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-05-03 21:26:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-05-03 21:26:49 +0000 |
commit | 9c102387aff079b513533e93bb2a8109ccc1492c (patch) | |
tree | 5dc78df7736efe7105b9e939af9959d9f9f9fd7e /runtime/doc/map.txt | |
parent | c05f93ffba24cd678b7f31b40e7b6f64ee12bf74 (diff) | |
download | vim-git-9c102387aff079b513533e93bb2a8109ccc1492c.tar.gz |
updated for version 7.0g02
Diffstat (limited to 'runtime/doc/map.txt')
-rw-r--r-- | runtime/doc/map.txt | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 23af8b564..34bee7443 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 7.0g. Last change: 2006 Apr 30 +*map.txt* For Vim version 7.0g. Last change: 2006 May 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -157,8 +157,9 @@ type "a", then "bar" will get inserted. 1.2 SPECIAL ARGUMENTS *:map-arguments* -"<buffer>", "<silent>", "<script>", "<expr>" and "<unique>" can be used in any -order. They must appear right after the command, before any other arguments. +"<buffer>", "<silent>", "<special>", "<script>", "<expr>" and "<unique>" can +be used in any order. They must appear right after the command, before any +other arguments. *:map-local* *:map-<buffer>* *E224* *E225* If the first argument to one of these commands is "<buffer>" it will apply to @@ -185,6 +186,12 @@ Prompts will still be given, e.g., for inputdialog(). Using "<silent>" for an abbreviation is possible, but will cause redrawing of the command line to fail. + *:map-<special>* *:map-special* +Define a mapping with <> notation for special keys, even though the "<" flag +may appear in 'cpoptions'. This is useful if the side effect of setting +'cpoptions' is not desired. Example: > + :map <special> <F12> /Header<CR> +< *:map-<script>* *:map-script* If the first argument to one of these commands is "<script>" and it is used to define a new mapping or abbreviation, the mapping will only remap characters |