Mercurial > vim
annotate runtime/delmenu.vim @ 18677:953e83e09e78 v8.1.2330
patch 8.1.2330: vi' does not always work when 'selection' is exclusive
Commit: https://github.com/vim/vim/commit/94d9f4fa65bce6f116cf89bfdabdf5a06509056f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 21 20:55:26 2019 +0100
patch 8.1.2330: vi' does not always work when 'selection' is exclusive
Problem: vi' does not always work when 'selection' is exclusive.
Solution: Adjust start position.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Nov 2019 21:00:04 +0100 |
parents | 8ac85adee561 |
children | ec92ccff5c8b |
rev | line source |
---|---|
7 | 1 " This Vim script deletes all the menus, so that they can be redefined. |
2 " Warning: This also deletes all menus defined by the user! | |
3 " | |
4 " Maintainer: Bram Moolenaar <Bram@vim.org> | |
18053 | 5 " Last Change: 2019 Sep 11 |
7 | 6 |
7 aunmenu * | |
14952
405309f9dd13
patch 8.1.0487: no menus specifically for the terminal window
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
8 tlunmenu * |
7 | 9 |
10 silent! unlet did_install_default_menus | |
11 silent! unlet did_install_syntax_menu | |
12 if exists("did_menu_trans") | |
13 menutrans clear | |
14 unlet did_menu_trans | |
15 endif | |
16 | |
17 silent! unlet find_help_dialog | |
18 | |
19 silent! unlet menutrans_help_dialog | |
20 silent! unlet menutrans_path_dialog | |
21 silent! unlet menutrans_tags_dialog | |
22 silent! unlet menutrans_textwidth_dialog | |
23 silent! unlet menutrans_fileformat_dialog | |
18053 | 24 silent! unlet menutrans_fileformat_choices |
7 | 25 silent! unlet menutrans_no_file |
18053 | 26 silent! unlet menutrans_set_lang_to |
27 silent! unlet menutrans_spell_change_ARG_to | |
28 silent! unlet menutrans_spell_add_ARG_to_word_list | |
29 silent! unlet menutrans_spell_ignore_ARG | |
7 | 30 |
31 " vim: set sw=2 : |