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/gui.txt | |
parent | c05f93ffba24cd678b7f31b40e7b6f64ee12bf74 (diff) |
updated for version 7.0g02
Diffstat (limited to 'runtime/doc/gui.txt')
-rw-r--r-- | runtime/doc/gui.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt index fe09d80382..56a1ff5c01 100644 --- a/runtime/doc/gui.txt +++ b/runtime/doc/gui.txt @@ -1,4 +1,4 @@ -*gui.txt* For Vim version 7.0g. Last change: 2006 Apr 02 +*gui.txt* For Vim version 7.0g. Last change: 2006 May 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -588,12 +588,21 @@ The ":set ic" will not be echoed when using this menu. Messages from the executed command are still given though. To shut them up too, add a ":silent" in the executed command: > :menu <silent> Search.Header :exe ":silent normal /Header\r"<CR> -< +"<silent>" may also appear just after "<special>" or "<script>". + + *:menu-<special>* *:menu-special* +Define a menu 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: > + :menu <special> Search.Header /Header<CR> +"<special>" must appear as the very first argument to the ":menu" command or +just after "<silent>" or "<script>". + *:menu-<script>* *:menu-script* The "to" part of the menu will be inspected for mappings. If you don't want this, use the ":noremenu" command (or the similar one for a specific mode). If you do want to use script-local mappings, add "<script>" as the very first -argument to the ":menu" command or after "<silent>". +argument to the ":menu" command or just after "<silent>" or "<special>". *menu-priority* You can give a priority to a menu. Menus with a higher priority go more to |