summaryrefslogtreecommitdiffstats
path: root/runtime/doc/gui.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-10 22:09:11 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-10 22:09:11 +0100
commit5ef1c6a4838a9629b793f3ae676f72a764171b00 (patch)
treef496545a97dd3ce594f7771891c4471700cdcbe9 /runtime/doc/gui.txt
parenta9aa86ff951b7908b615a61a0e216901b96bc0eb (diff)
Update runtime files
Diffstat (limited to 'runtime/doc/gui.txt')
-rw-r--r--runtime/doc/gui.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index e8ee3f3522..362e838c09 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -1,4 +1,4 @@
-*gui.txt* For Vim version 8.1. Last change: 2019 Aug 21
+*gui.txt* For Vim version 8.1. Last change: 2019 Nov 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -560,8 +560,9 @@ floating menus that do not appear on the main menu bar.
*E330* *E327* *E331* *E336* *E333*
*E328* *E329* *E337* *E792*
To create a new menu item, use the ":menu" commands. They are mostly like
-the ":map" set of commands but the first argument is a menu item name, given
-as a path of menus and submenus with a '.' between them, e.g.: >
+the ":map" set of commands (see |map-modes|), but the first argument is a menu
+item name, given as a path of menus and submenus with a '.' between them,
+e.g.: >
:menu File.Save :w<CR>
:inoremenu File.Save <C-O>:w<CR>