From 214641f77df6f318a4b3a0b09723c19859a103f4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 5 Mar 2017 17:04:09 +0100 Subject: Runtime file updates. --- runtime/menu.vim | 124 +++++++++++++++++++++++++++---------------------------- 1 file changed, 62 insertions(+), 62 deletions(-) (limited to 'runtime/menu.vim') diff --git a/runtime/menu.vim b/runtime/menu.vim index aa5c5bc1a8..87ac937a1e 100644 --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -2,7 +2,7 @@ " You can also use this as a start for your own set of menus. " " Maintainer: Bram Moolenaar -" Last Change: 2017 Feb 09 +" Last Change: 2017 Mar 04 " Note that ":an" (short for ":anoremenu") is often used to make a menu work " in all modes and avoid side effects from mappings defined by the user. @@ -70,7 +70,7 @@ endif " Help menu an 9999.10 &Help.&Overview :help an 9999.20 &Help.&User\ Manual :help usr_toc -an 9999.30 &Help.&How-to\ links :help how-to +an 9999.30 &Help.&How-To\ Links :help how-to an 9999.40 &Help.&Find\.\.\. :call Helpfind() an 9999.45 &Help.-sep1- an 9999.50 &Help.&Credits :help credits @@ -112,7 +112,7 @@ an 10.350 &File.Save\ &As\.\.\.:sav :browse confirm saveas if has("diff") an 10.400 &File.-SEP2- - an 10.410 &File.Split\ &Diff\ with\.\.\. :browse vert diffsplit + an 10.410 &File.Split\ &Diff\ With\.\.\. :browse vert diffsplit an 10.420 &File.Split\ Patched\ &By\.\.\. :browse vert diffpatch endif @@ -214,25 +214,25 @@ endfun " Edit/Global Settings an 20.440.100 &Edit.&Global\ Settings.Toggle\ Pattern\ &Highlight:set\ hls! :set hls! hls? -an 20.440.110 &Edit.&Global\ Settings.Toggle\ &Ignore-case:set\ ic! :set ic! ic? -an 20.440.110 &Edit.&Global\ Settings.Toggle\ &Showmatch:set\ sm! :set sm! sm? - -an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 1\ :set so=1 -an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 2\ :set so=2 -an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 3\ :set so=3 -an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 4\ :set so=4 -an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 5\ :set so=5 -an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 7\ :set so=7 -an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 10\ :set so=10 -an 20.440.120 &Edit.&Global\ Settings.&Context\ lines.\ 100\ :set so=100 +an 20.440.110 &Edit.&Global\ Settings.Toggle\ &Ignoring\ Case:set\ ic! :set ic! ic? +an 20.440.110 &Edit.&Global\ Settings.Toggle\ &Showing\ Matched\ Pairs:set\ sm! :set sm! sm? + +an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 1\ :set so=1 +an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 2\ :set so=2 +an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 3\ :set so=3 +an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 4\ :set so=4 +an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 5\ :set so=5 +an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 7\ :set so=7 +an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 10\ :set so=10 +an 20.440.120 &Edit.&Global\ Settings.&Context\ Lines.\ 100\ :set so=100 an 20.440.130.40 &Edit.&Global\ Settings.&Virtual\ Edit.Never :set ve= an 20.440.130.50 &Edit.&Global\ Settings.&Virtual\ Edit.Block\ Selection :set ve=block -an 20.440.130.60 &Edit.&Global\ Settings.&Virtual\ Edit.Insert\ mode :set ve=insert +an 20.440.130.60 &Edit.&Global\ Settings.&Virtual\ Edit.Insert\ Mode :set ve=insert an 20.440.130.70 &Edit.&Global\ Settings.&Virtual\ Edit.Block\ and\ Insert :set ve=block,insert an 20.440.130.80 &Edit.&Global\ Settings.&Virtual\ Edit.Always :set ve=all an 20.440.140 &Edit.&Global\ Settings.Toggle\ Insert\ &Mode:set\ im! :set im! -an 20.440.145 &Edit.&Global\ Settings.Toggle\ Vi\ C&ompatible:set\ cp! :set cp! +an 20.440.145 &Edit.&Global\ Settings.Toggle\ Vi\ C&ompatibility:set\ cp! :set cp! an 20.440.150 &Edit.&Global\ Settings.Search\ &Path\.\.\. :call SearchP() an 20.440.160 &Edit.&Global\ Settings.Ta&g\ Files\.\.\. :call TagFiles() " @@ -276,13 +276,13 @@ endfun " Boolean options an 20.440.100 &Edit.F&ile\ Settings.Toggle\ Line\ &Numbering:set\ nu! :set nu! nu? -an 20.440.105 &Edit.F&ile\ Settings.Toggle\ relati&ve\ Line\ Numbering:set\ rnu! :set rnu! rnu? +an 20.440.105 &Edit.F&ile\ Settings.Toggle\ Relati&ve\ Line\ Numbering:set\ rnu! :set rnu! rnu? an 20.440.110 &Edit.F&ile\ Settings.Toggle\ &List\ Mode:set\ list! :set list! list? -an 20.440.120 &Edit.F&ile\ Settings.Toggle\ Line\ &Wrap:set\ wrap! :set wrap! wrap? -an 20.440.130 &Edit.F&ile\ Settings.Toggle\ W&rap\ at\ word:set\ lbr! :set lbr! lbr? -an 20.440.160 &Edit.F&ile\ Settings.Toggle\ &expand-tab:set\ et! :set et! et? -an 20.440.170 &Edit.F&ile\ Settings.Toggle\ &auto-indent:set\ ai! :set ai! ai? -an 20.440.180 &Edit.F&ile\ Settings.Toggle\ &C-indenting:set\ cin! :set cin! cin? +an 20.440.120 &Edit.F&ile\ Settings.Toggle\ Line\ &Wrapping:set\ wrap! :set wrap! wrap? +an 20.440.130 &Edit.F&ile\ Settings.Toggle\ W&rapping\ at\ Word:set\ lbr! :set lbr! lbr? +an 20.440.160 &Edit.F&ile\ Settings.Toggle\ Tab\ &Expanding:set\ et! :set et! et? +an 20.440.170 &Edit.F&ile\ Settings.Toggle\ &Auto\ Indenting:set\ ai! :set ai! ai? +an 20.440.180 &Edit.F&ile\ Settings.Toggle\ &C-Style\ Indenting:set\ cin! :set cin! cin? " other options an 20.440.600 &Edit.F&ile\ Settings.-SEP2- @@ -311,7 +311,7 @@ fun! s:TextWidth() " Remove leading zeros to avoid it being used as an octal number. " But keep a zero by itself. let tw = substitute(n, "^0*", "", "") - let &tw = tw == '' ? 0 : tw + let &tw = tw == '' ? 0 : tw endif endfun @@ -396,10 +396,10 @@ if !exists("g:ctags_command") endif endif -an 40.300 &Tools.&Jump\ to\ this\ tagg^] g -vunmenu &Tools.&Jump\ to\ this\ tagg^] -vnoremenu &Tools.&Jump\ to\ this\ tagg^] g -an 40.310 &Tools.Jump\ &back^T +an 40.300 &Tools.&Jump\ to\ This\ Tagg^] g +vunmenu &Tools.&Jump\ to\ This\ Tagg^] +vnoremenu &Tools.&Jump\ to\ This\ Tagg^] g +an 40.310 &Tools.Jump\ &Back^T an 40.320 &Tools.Build\ &Tags\ File :exe "!" . g:ctags_command if has("folding") || has("spell") @@ -410,17 +410,17 @@ endif if has("spell") an 40.335.110 &Tools.&Spelling.&Spell\ Check\ On :set spell an 40.335.120 &Tools.&Spelling.Spell\ Check\ &Off :set nospell - an 40.335.130 &Tools.&Spelling.To\ &Next\ error]s ]s - an 40.335.130 &Tools.&Spelling.To\ &Previous\ error[s [s + an 40.335.130 &Tools.&Spelling.To\ &Next\ Error]s ]s + an 40.335.130 &Tools.&Spelling.To\ &Previous\ Error[s [s an 40.335.140 &Tools.&Spelling.Suggest\ &Correctionsz= z= - an 40.335.150 &Tools.&Spelling.&Repeat\ correction:spellrepall :spellrepall + an 40.335.150 &Tools.&Spelling.&Repeat\ Correction:spellrepall :spellrepall an 40.335.200 &Tools.&Spelling.-SEP1- - an 40.335.210 &Tools.&Spelling.Set\ language\ to\ "en" :set spl=en spell - an 40.335.220 &Tools.&Spelling.Set\ language\ to\ "en_au" :set spl=en_au spell - an 40.335.230 &Tools.&Spelling.Set\ language\ to\ "en_ca" :set spl=en_ca spell - an 40.335.240 &Tools.&Spelling.Set\ language\ to\ "en_gb" :set spl=en_gb spell - an 40.335.250 &Tools.&Spelling.Set\ language\ to\ "en_nz" :set spl=en_nz spell - an 40.335.260 &Tools.&Spelling.Set\ language\ to\ "en_us" :set spl=en_us spell + an 40.335.210 &Tools.&Spelling.Set\ Language\ to\ "en" :set spl=en spell + an 40.335.220 &Tools.&Spelling.Set\ Language\ to\ "en_au" :set spl=en_au spell + an 40.335.230 &Tools.&Spelling.Set\ Language\ to\ "en_ca" :set spl=en_ca spell + an 40.335.240 &Tools.&Spelling.Set\ Language\ to\ "en_gb" :set spl=en_gb spell + an 40.335.250 &Tools.&Spelling.Set\ Language\ to\ "en_nz" :set spl=en_nz spell + an 40.335.260 &Tools.&Spelling.Set\ Language\ to\ "en_us" :set spl=en_us spell an 40.335.270 &Tools.&Spelling.&Find\ More\ Languages :call SpellLang() let s:undo_spellang = ['aun &Tools.&Spelling.&Find\ More\ Languages'] @@ -437,7 +437,7 @@ if has("spell") endif if !exists("g:menutrans_set_lang_to") - let g:menutrans_set_lang_to = 'Set language to' + let g:menutrans_set_lang_to = 'Set Language to' endif let found = 0 @@ -474,13 +474,13 @@ endif " Tools.Fold Menu if has("folding") " open close folds - an 40.340.110 &Tools.&Folding.&Enable/Disable\ foldszi zi + an 40.340.110 &Tools.&Folding.&Enable/Disable\ Foldszi zi an 40.340.120 &Tools.&Folding.&View\ Cursor\ Linezv zv - an 40.340.120 &Tools.&Folding.Vie&w\ Cursor\ Line\ onlyzMzx zMzx - inoremenu 40.340.120 &Tools.&Folding.Vie&w\ Cursor\ Line\ onlyzMzx zMzx - an 40.340.130 &Tools.&Folding.C&lose\ more\ foldszm zm - an 40.340.140 &Tools.&Folding.&Close\ all\ foldszM zM - an 40.340.150 &Tools.&Folding.O&pen\ more\ foldszr zr + an 40.340.120 &Tools.&Folding.Vie&w\ Cursor\ Line\ OnlyzMzx zMzx + inoremenu 40.340.120 &Tools.&Folding.Vie&w\ Cursor\ Line\ OnlyzMzx zMzx + an 40.340.130 &Tools.&Folding.C&lose\ More\ Foldszm zm + an 40.340.140 &Tools.&Folding.&Close\ All\ FoldszM zM + an 40.340.150 &Tools.&Folding.O&pen\ More\ Foldszr zr an 40.340.160 &Tools.&Folding.&Open\ All\ FoldszR zR " fold method an 40.340.200 &Tools.&Folding.-SEP1- @@ -496,14 +496,14 @@ if has("folding") an 40.340.240 &Tools.&Folding.Delete\ &All\ FoldszD zD " moving around in folds an 40.340.300 &Tools.&Folding.-SEP2- - an 40.340.310.10 &Tools.&Folding.Fold\ col&umn\ width.\ &0\ :set fdc=0 - an 40.340.310.20 &Tools.&Folding.Fold\ col&umn\ width.\ &2\ :set fdc=2 - an 40.340.310.30 &Tools.&Folding.Fold\ col&umn\ width.\ &3\ :set fdc=3 - an 40.340.310.40 &Tools.&Folding.Fold\ col&umn\ width.\ &4\ :set fdc=4 - an 40.340.310.50 &Tools.&Folding.Fold\ col&umn\ width.\ &5\ :set fdc=5 - an 40.340.310.60 &Tools.&Folding.Fold\ col&umn\ width.\ &6\ :set fdc=6 - an 40.340.310.70 &Tools.&Folding.Fold\ col&umn\ width.\ &7\ :set fdc=7 - an 40.340.310.80 &Tools.&Folding.Fold\ col&umn\ width.\ &8\ :set fdc=8 + an 40.340.310.10 &Tools.&Folding.Fold\ Col&umn\ Width.\ &0\ :set fdc=0 + an 40.340.310.20 &Tools.&Folding.Fold\ Col&umn\ Width.\ &2\ :set fdc=2 + an 40.340.310.30 &Tools.&Folding.Fold\ Col&umn\ Width.\ &3\ :set fdc=3 + an 40.340.310.40 &Tools.&Folding.Fold\ Col&umn\ Width.\ &4\ :set fdc=4 + an 40.340.310.50 &Tools.&Folding.Fold\ Col&umn\ Width.\ &5\ :set fdc=5 + an 40.340.310.60 &Tools.&Folding.Fold\ Col&umn\ Width.\ &6\ :set fdc=6 + an 40.340.310.70 &Tools.&Folding.Fold\ Col&umn\ Width.\ &7\ :set fdc=7 + an 40.340.310.80 &Tools.&Folding.Fold\ Col&umn\ Width.\ &8\ :set fdc=8 endif " has folding if has("diff") @@ -531,7 +531,7 @@ an 40.430.70 &Tools.Error\ &Window.&Close:cclose :cclose an 40.520 &Tools.-SEP3- an 40.530 &Tools.&Convert\ to\ HEX:%!xxd \ :call XxdConv() -an 40.540 &Tools.Conve&rt\ back:%!xxd\ -r +an 40.540 &Tools.Conve&rt\ Back:%!xxd\ -r \ :call XxdBack() " Use a function to do the conversion, so that it also works with 'insertmode' @@ -588,7 +588,7 @@ while strlen(s:n) > 0 endif " Ignore case for VMS and windows let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:]*\)\.vim', '\1', '') - exe "an 30.440." . s:idx . ' &Tools.Se&T\ Compiler.' . s:name . " :compiler " . s:name . "" + exe "an 30.440." . s:idx . ' &Tools.Se&t\ Compiler.' . s:name . " :compiler " . s:name . "" unlet s:name unlet s:i let s:idx = s:idx + 10 @@ -829,8 +829,8 @@ an 70.345 &Window.Close\ &Other(s)^Wo :confirm only an 70.350 &Window.-SEP2- an 70.355 &Window.Move\ &To.&Top^WK K an 70.355 &Window.Move\ &To.&Bottom^WJ J -an 70.355 &Window.Move\ &To.&Left\ side^WH H -an 70.355 &Window.Move\ &To.&Right\ side^WL L +an 70.355 &Window.Move\ &To.&Left\ Side^WH H +an 70.355 &Window.Move\ &To.&Right\ Side^WL L an 70.360 &Window.Rotate\ &Up^WR R an 70.362 &Window.Rotate\ &Down^Wr r an 70.365 &Window.-SEP3- @@ -913,7 +913,7 @@ if has("spell") let s:suglist = spellsuggest(w, 10) endif if len(s:suglist) > 0 - let s:changeitem = 'change\ "' . escape(w, ' .'). '"\ to' + let s:changeitem = 'Change\ "' . escape(w, ' .'). '"\ to' let s:fromword = w let pri = 1 " set 'cpo' to include the @@ -925,10 +925,10 @@ if has("spell") let pri += 1 endfor - let s:additem = 'add\ "' . escape(w, ' .') . '"\ to\ word\ list' + let s:additem = 'Add\ "' . escape(w, ' .') . '"\ to\ Word\ List' exe 'anoremenu 1.6 PopUp.' . s:additem . ' :spellgood ' . w . '' - let s:ignoreitem = 'ignore\ "' . escape(w, ' .') . '"' + let s:ignoreitem = 'Ignore\ "' . escape(w, ' .') . '"' exe 'anoremenu 1.7 PopUp.' . s:ignoreitem . ' :spellgood! ' . w . '' anoremenu 1.8 PopUp.-SpellSep- : @@ -1067,7 +1067,7 @@ endif " !exists("did_install_default_menus") if !exists("did_install_syntax_menu") an 50.212 &Syntax.&Manual :syn manual an 50.214 &Syntax.A&utomatic :syn on - an 50.216 &Syntax.on/off\ for\ &This\ file :call SynOnOff() + an 50.216 &Syntax.On/Off\ for\ &This\ File :call SynOnOff() if !exists("*s:SynOnOff") fun s:SynOnOff() if has("syntax_items") @@ -1095,14 +1095,14 @@ if (exists("did_load_filetypes") || exists("syntax_on")) if exists("do_syntax_sel_menu") runtime! synmenu.vim else - an 50.10 &Syntax.&Show\ filetypes\ in\ menu :let do_syntax_sel_menu = 1runtime! synmenu.vimaunmenu &Syntax.&Show\ filetypes\ in\ menu + an 50.10 &Syntax.&Show\ File\ Types\ in\ Menu :let do_syntax_sel_menu = 1runtime! synmenu.vimaunmenu &Syntax.&Show\ File\ Types\ in\ Menu an 50.195 &Syntax.-SEP1- endif an 50.210 &Syntax.&Off :syn off an 50.700 &Syntax.-SEP3- -an 50.710 &Syntax.Co&lor\ test :sp $VIMRUNTIME/syntax/colortest.vimso % -an 50.720 &Syntax.&Highlight\ test :runtime syntax/hitest.vim +an 50.710 &Syntax.Co&lor\ Test :sp $VIMRUNTIME/syntax/colortest.vimso % +an 50.720 &Syntax.&Highlight\ Test :runtime syntax/hitest.vim an 50.730 &Syntax.&Convert\ to\ HTML :runtime syntax/2html.vim endif " !exists("did_install_syntax_menu") -- cgit v1.2.3