" *vim_menu.txt* For Vim version 4.4. Last modification: 1996 May 29 " " These menu commands should recreate the default Vim menus. " You can use this as a start for your own set of menus. " The colons at the start of each line are just to indicate these are colon " commands, they could be omitted. " If the and string appear literally in the output of ":menu", you " need to remove the '<' flag from 'cpoptions' |'cpoptions'| " First remove any menus that are currently present :unmenu * :unmenu! * " Help menu " Note that the help commands use to leave Insert/Visual/Command-line " mode :nmenu Help.Overview\ \ :help :vmenu Help.Overview\ \ :help :menu! Help.Overview\ \ :help :nmenu Help.How\ to\.\.\. :help how_to :vmenu Help.How\ to\.\.\. :help how_to :menu! Help.How\ to\.\.\. :help how_to :nmenu Help.GUI :help gui :vmenu Help.GUI :help gui :menu! Help.GUI :help gui :nmenu Help.Version :version :vmenu Help.Version :version :menu! Help.Version :version :nmenu Help.Credits :help credits :vmenu Help.Credits :help credits :menu! Help.Credits :help credits :nmenu Help.Copying :help uganda :vmenu Help.Copying :help uganda :menu! Help.Copying :help uganda " File menu :nmenu File.Save\ \ \ \ \ \ \ :w :w :imenu File.Save\ \ \ \ \ \ \ :w :w :nmenu File.Close\ \ \ \ \ \ :q :q :vmenu File.Close\ \ \ \ \ \ :q :q :menu! File.Close\ \ \ \ \ \ :q :q :nmenu File.Quit\ \ \ \ \ \ \ :qa :qa :vmenu File.Quit\ \ \ \ \ \ \ :qa :qa :menu! File.Quit\ \ \ \ \ \ \ :qa :qa :nmenu File.Save-Quit\ \ :wqa :wqa :vmenu File.Save-Quit\ \ :wqa :wqa :menu! File.Save-Quit\ \ :wqa :wqa " Edit menu :nmenu Edit.Undo u :nmenu Edit.Redo :vmenu Edit.Cut x :vmenu Edit.Copy y :nmenu Edit.Put\ Before [p :imenu Edit.Put\ Before [p :nmenu Edit.Put\ After ]p :imenu Edit.Put\ After ]p :nmenu Edit.Paste i* :menu! Edit.Paste *