diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-07-08 17:33:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-08 17:33:43 +0200 |
commit | 0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5 (patch) | |
tree | 93bb22888e979af1e86dba6c419a441f44e67f42 /runtime/doc/gui.txt | |
parent | 6720fe253e92b21c7f989389a64e363b5933884f (diff) | |
parent | 829e1f2c43f84caa74c68e8a473d5faf8ec96c48 (diff) | |
download | rneovim-0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5.tar.gz rneovim-0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5.tar.bz2 rneovim-0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5.zip |
Merge #6945 from justinmk/cpoptions
Diffstat (limited to 'runtime/doc/gui.txt')
-rw-r--r-- | runtime/doc/gui.txt | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt index 0bd3a40a7c..b66a60c860 100644 --- a/runtime/doc/gui.txt +++ b/runtime/doc/gui.txt @@ -490,9 +490,6 @@ expression register: > :amenu Insert.foobar "='foobar'<CR>P -Note that the '<' and 'k' flags in 'cpoptions' also apply here (when -included they make the <> form and raw key codes not being recognized). - Note that <Esc> in Cmdline mode executes the command, like in a mapping. This is Vi compatible. Use CTRL-C to quit Cmdline mode. @@ -504,21 +501,13 @@ 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>". +"<silent>" may also appear just after "<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 just after "<silent>" or "<special>". +argument to the ":menu" command or just after "<silent>". *menu-priority* You can give a priority to a menu. Menus with a higher priority go more to |