summaryrefslogtreecommitdiffstats
path: root/runtime/doc/gui.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-05-02 17:19:11 +0200
committerBram Moolenaar <Bram@vim.org>2021-05-02 17:19:11 +0200
commit4c295027a426986566cd7a76c47a6d3a529727e7 (patch)
treefd90535889a3a7d05ebd9406bcb91dfcf8a17ded /runtime/doc/gui.txt
parent5f628a12e5c7ebd1145ae1c089d1be1751b700c1 (diff)
Update runtime files
Diffstat (limited to 'runtime/doc/gui.txt')
-rw-r--r--runtime/doc/gui.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index ac8febebee..c93a050480 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -1,4 +1,4 @@
-*gui.txt* For Vim version 8.2. Last change: 2020 Sep 28
+*gui.txt* For Vim version 8.2. Last change: 2021 May 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -620,6 +620,11 @@ expression register: >
:amenu Insert.foobar "='foobar'<CR>P
+The special text <Cmd> begins a "command menu", it executes the command
+directly without changing modes. Where you might use ":...<CR>" you can
+instead use "<Cmd>...<CR>". See |<Cmd>| for more info. Example: >
+ anoremenu File.Next <Cmd>next<CR>
+
Note that the '<' and 'k' flags in 'cpoptions' also apply here (when
included they make the <> form and raw key codes not being recognized).