Mercurial > vim
comparison runtime/doc/gui.txt @ 12756:3b26420fc639
Long overdue runtime update.
commit https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 2 22:58:42 2017 +0100
Long overdue runtime update.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Nov 2017 23:00:08 +0100 |
parents | 34c8ec888122 |
children | 65d7fd8381a3 |
comparison
equal
deleted
inserted
replaced
12755:3529eea08ad9 | 12756:3b26420fc639 |
---|---|
480 Long-time Vim users won't use menus much. But the power is in adding your own | 480 Long-time Vim users won't use menus much. But the power is in adding your own |
481 menus and menu items. They are most useful for things that you can't remember | 481 menus and menu items. They are most useful for things that you can't remember |
482 what the key sequence was. | 482 what the key sequence was. |
483 | 483 |
484 For creating menus in a different language, see |:menutrans|. | 484 For creating menus in a different language, see |:menutrans|. |
485 If you don't want to use menus at all, see |'go-M'|. | |
485 | 486 |
486 *menu.vim* | 487 *menu.vim* |
487 The default menus are read from the file "$VIMRUNTIME/menu.vim". See | 488 The default menus are read from the file "$VIMRUNTIME/menu.vim". See |
488 |$VIMRUNTIME| for where the path comes from. You can set up your own menus. | 489 |$VIMRUNTIME| for where the path comes from. You can set up your own menus. |
489 Starting off with the default set is a good idea. You can add more items, or, | 490 Starting off with the default set is a good idea. You can add more items, or, |
496 The first item in the Syntax menu can be used to show all available filetypes | 497 The first item in the Syntax menu can be used to show all available filetypes |
497 in the menu (which can take a bit of time to load). If you want to have all | 498 in the menu (which can take a bit of time to load). If you want to have all |
498 filetypes already present at startup, add: > | 499 filetypes already present at startup, add: > |
499 :let do_syntax_sel_menu = 1 | 500 :let do_syntax_sel_menu = 1 |
500 | 501 |
501 < | 502 Note that the menu.vim is sourced when `:syntax on` or `:filetype on` is |
503 executed or after your .vimrc file is sourced. This means that the 'encoding' | |
504 option and the language of messages (`:language messages`) must be set before | |
505 that (if you want to change them). | |
506 | |
502 *console-menus* | 507 *console-menus* |
503 Although this documentation is in the GUI section, you can actually use menus | 508 Although this documentation is in the GUI section, you can actually use menus |
504 in console mode too. You will have to load |menu.vim| explicitly then, it is | 509 in console mode too. You will have to load |menu.vim| explicitly then, it is |
505 not done by default. You can use the |:emenu| command and command-line | 510 not done by default. You can use the |:emenu| command and command-line |
506 completion with 'wildmenu' to access the menu entries almost like a real menu | 511 completion with 'wildmenu' to access the menu entries almost like a real menu |