1
0
forked from aniani/vim

runtime(doc): update index.txt, windows.txt and version9.txt

closes: #16357

Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
h-east
2025-01-02 11:00:49 +01:00
committed by Christian Brabandt
parent e80f345b5d
commit 0c3e57b403
4 changed files with 32 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
*index.txt* For Vim version 9.1. Last change: 2024 Dec 15 *index.txt* For Vim version 9.1. Last change: 2025 Jan 02
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1185,6 +1185,7 @@ tag command action ~
|:abbreviate| :ab[breviate] enter abbreviation |:abbreviate| :ab[breviate] enter abbreviation
|:abclear| :abc[lear] remove all abbreviations |:abclear| :abc[lear] remove all abbreviations
|:aboveleft| :abo[veleft] make split window appear left or above |:aboveleft| :abo[veleft] make split window appear left or above
|:abstract| :abstract declare a Vim9 abstract class
|:all| :al[l] open a window for each file in the argument |:all| :al[l] open a window for each file in the argument
list list
|:amenu| :am[enu] enter new menu item for all modes |:amenu| :am[enu] enter new menu item for all modes
@@ -1224,7 +1225,7 @@ tag command action ~
|:breakdel| :breakd[el] delete a debugger breakpoint |:breakdel| :breakd[el] delete a debugger breakpoint
|:breaklist| :breakl[ist] list debugger breakpoints |:breaklist| :breakl[ist] list debugger breakpoints
|:browse| :bro[wse] use file selection dialog |:browse| :bro[wse] use file selection dialog
|:bufdo| :bufdo execute command in each listed buffer |:bufdo| :bufd[o] execute command in each listed buffer
|:buffers| :buffers list all files in the buffer list |:buffers| :buffers list all files in the buffer list
|:bunload| :bun[load] unload a specific buffer |:bunload| :bun[load] unload a specific buffer
|:bwipeout| :bw[ipeout] really delete a buffer |:bwipeout| :bw[ipeout] really delete a buffer
@@ -1240,7 +1241,7 @@ tag command action ~
|:cafter| :caf[ter] go to error after current cursor |:cafter| :caf[ter] go to error after current cursor
|:call| :cal[l] call a function |:call| :cal[l] call a function
|:catch| :cat[ch] part of a :try command |:catch| :cat[ch] part of a :try command
|:cbefore| :cbef[ore] go to error before current cursor |:cbefore| :cbe[fore] go to error before current cursor
|:cbelow| :cbel[ow] go to error below current line |:cbelow| :cbel[ow] go to error below current line
|:cbottom| :cbo[ttom] scroll to the bottom of the quickfix window |:cbottom| :cbo[ttom] scroll to the bottom of the quickfix window
|:cbuffer| :cb[uffer] parse error messages and jump to first error |:cbuffer| :cb[uffer] parse error messages and jump to first error
@@ -1300,7 +1301,7 @@ tag command action ~
|:debuggreedy| :debugg[reedy] read debug mode commands from normal input |:debuggreedy| :debugg[reedy] read debug mode commands from normal input
|:def| :def define a Vim9 user function |:def| :def define a Vim9 user function
|:defcompile| :defc[ompile] compile Vim9 user functions in current script |:defcompile| :defc[ompile] compile Vim9 user functions in current script
|:defer| :defer call function when current function is done |:defer| :defe[r] call function when current function is done
|:delcommand| :delc[ommand] delete user-defined command |:delcommand| :delc[ommand] delete user-defined command
|:delfunction| :delf[unction] delete a user function |:delfunction| :delf[unction] delete a user function
|:delmarks| :delm[arks] delete marks |:delmarks| :delm[arks] delete marks
@@ -1310,7 +1311,7 @@ tag command action ~
|:diffpatch| :diffp[atch] apply a patch and show differences |:diffpatch| :diffp[atch] apply a patch and show differences
|:diffput| :diffpu[t] remove differences in other buffer |:diffput| :diffpu[t] remove differences in other buffer
|:diffsplit| :diffs[plit] show differences with another file |:diffsplit| :diffs[plit] show differences with another file
|:diffthis| :diffthis make current window a diff window |:diffthis| :difft[his] make current window a diff window
|:digraphs| :dig[raphs] show or enter digraphs |:digraphs| :dig[raphs] show or enter digraphs
|:display| :di[splay] display registers |:display| :di[splay] display registers
|:disassemble| :disa[ssemble] disassemble Vim9 user function |:disassemble| :disa[ssemble] disassemble Vim9 user function
@@ -1338,12 +1339,15 @@ tag command action ~
|:emenu| :em[enu] execute a menu by name |:emenu| :em[enu] execute a menu by name
|:endclass| :endclass end of a class specification |:endclass| :endclass end of a class specification
|:enddef| :enddef end of a user function started with :def |:enddef| :enddef end of a user function started with :def
|:endenum| :endenum end of an enum specification
|:endif| :en[dif] end previous :if |:endif| :en[dif] end previous :if
|:endinterface| :endinterface end of an interface specification
|:endfor| :endfo[r] end previous :for |:endfor| :endfo[r] end previous :for
|:endfunction| :endf[unction] end of a user function started with :function |:endfunction| :endf[unction] end of a user function started with :function
|:endtry| :endt[ry] end previous :try |:endtry| :endt[ry] end previous :try
|:endwhile| :endw[hile] end previous :while |:endwhile| :endw[hile] end previous :while
|:enew| :ene[w] edit a new, unnamed buffer |:enew| :ene[w] edit a new, unnamed buffer
|:enum| :enum start of an enum declaration
|:eval| :ev[al] evaluate an expression and discard the result |:eval| :ev[al] evaluate an expression and discard the result
|:ex| :ex same as ":edit" |:ex| :ex same as ":edit"
|:execute| :exe[cute] execute result of expressions |:execute| :exe[cute] execute result of expressions
@@ -1382,7 +1386,7 @@ tag command action ~
|:highlight| :hi[ghlight] specify highlighting methods |:highlight| :hi[ghlight] specify highlighting methods
|:hide| :hid[e] hide current buffer for a command |:hide| :hid[e] hide current buffer for a command
|:history| :his[tory] print a history list |:history| :his[tory] print a history list
|:horizontal| :hor[izontal] following window command work horizontally |:horizontal| :ho[rizontal] following window command work horizontally
|:insert| :i[nsert] insert text |:insert| :i[nsert] insert text
|:iabbrev| :ia[bbrev] like ":abbrev" but for Insert mode |:iabbrev| :ia[bbrev] like ":abbrev" but for Insert mode
|:iabclear| :iabc[lear] like ":abclear" but for Insert mode |:iabclear| :iabc[lear] like ":abclear" but for Insert mode
@@ -1397,6 +1401,7 @@ tag command action ~
|:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode |:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode
|:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode |:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode
|:intro| :int[ro] print the introductory message |:intro| :int[ro] print the introductory message
|:interface| :interface start of an interface declaration
|:isearch| :is[earch] list one line where identifier matches |:isearch| :is[earch] list one line where identifier matches
|:isplit| :isp[lit] split window and jump to definition of |:isplit| :isp[lit] split window and jump to definition of
identifier identifier
@@ -1421,7 +1426,7 @@ tag command action ~
|:last| :la[st] go to the last file in the argument list |:last| :la[st] go to the last file in the argument list
|:language| :lan[guage] set the language (locale) |:language| :lan[guage] set the language (locale)
|:later| :lat[er] go to newer change, redo |:later| :lat[er] go to newer change, redo
|:lbefore| :lbef[ore] go to location before current cursor |:lbefore| :lbe[fore] go to location before current cursor
|:lbelow| :lbel[ow] go to location below current line |:lbelow| :lbel[ow] go to location below current line
|:lbottom| :lbo[ttom] scroll to the bottom of the location window |:lbottom| :lbo[ttom] scroll to the bottom of the location window
|:lbuffer| :lb[uffer] parse locations and jump to first location |:lbuffer| :lb[uffer] parse locations and jump to first location
@@ -1461,7 +1466,7 @@ tag command action ~
|:lockmarks| :loc[kmarks] following command keeps marks where they are |:lockmarks| :loc[kmarks] following command keeps marks where they are
|:lockvar| :lockv[ar] lock variables |:lockvar| :lockv[ar] lock variables
|:lolder| :lol[der] go to older location list |:lolder| :lol[der] go to older location list
|:lopen| :lope[n] open location window |:lopen| :lop[en] open location window
|:lprevious| :lp[revious] go to previous location |:lprevious| :lp[revious] go to previous location
|:lpfile| :lpf[ile] go to last location in previous file |:lpfile| :lpf[ile] go to last location in previous file
|:lrewind| :lr[ewind] go to the specified location, default first one |:lrewind| :lr[ewind] go to the specified location, default first one
@@ -1496,7 +1501,7 @@ tag command action ~
|:mzfile| :mzf[ile] execute MzScheme script file |:mzfile| :mzf[ile] execute MzScheme script file
|:nbclose| :nbc[lose] close the current Netbeans session |:nbclose| :nbc[lose] close the current Netbeans session
|:nbkey| :nb[key] pass a key to Netbeans |:nbkey| :nb[key] pass a key to Netbeans
|:nbstart| :nbs[art] start a new Netbeans session |:nbstart| :nbs[tart] start a new Netbeans session
|:next| :n[ext] go to next file in the argument list |:next| :n[ext] go to next file in the argument list
|:new| :new create a new empty window |:new| :new create a new empty window
|:nmap| :nm[ap] like ":map" but for Normal mode |:nmap| :nm[ap] like ":map" but for Normal mode
@@ -1682,7 +1687,7 @@ tag command action ~
|:tNext| :tN[ext] jump to previous matching tag |:tNext| :tN[ext] jump to previous matching tag
|:tabNext| :tabN[ext] go to previous tab page |:tabNext| :tabN[ext] go to previous tab page
|:tabclose| :tabc[lose] close current tab page |:tabclose| :tabc[lose] close current tab page
|:tabdo| :tabdo execute command in each tab page |:tabdo| :tabd[o] execute command in each tab page
|:tabedit| :tabe[dit] edit a file in a new tab page |:tabedit| :tabe[dit] edit a file in a new tab page
|:tabfind| :tabf[ind] find file in 'path', edit it in a new tab page |:tabfind| :tabf[ind] find file in 'path', edit it in a new tab page
|:tabfirst| :tabfir[st] go to first tab page |:tabfirst| :tabfir[st] go to first tab page
@@ -1706,6 +1711,8 @@ tag command action ~
|:terminal| :ter[minal] open a terminal window |:terminal| :ter[minal] open a terminal window
|:tfirst| :tf[irst] jump to first matching tag |:tfirst| :tf[irst] jump to first matching tag
|:throw| :th[row] throw an exception |:throw| :th[row] throw an exception
|:this| :this prefix for an object member during
initialization (e.g. on |new()|)
|:tjump| :tj[ump] like ":tselect", but jump directly when there |:tjump| :tj[ump] like ":tselect", but jump directly when there
is only one match is only one match
|:tlast| :tl[ast] jump to last matching tag |:tlast| :tl[ast] jump to last matching tag
@@ -1724,6 +1731,7 @@ tag command action ~
|:tselect| :ts[elect] list matching tags and select one |:tselect| :ts[elect] list matching tags and select one
|:tunmap| :tunma[p] like ":unmap" but for Terminal-Job mode |:tunmap| :tunma[p] like ":unmap" but for Terminal-Job mode
|:tunmenu| :tu[nmenu] remove menu tooltip |:tunmenu| :tu[nmenu] remove menu tooltip
|:type| :type create a type alias
|:undo| :u[ndo] undo last change(s) |:undo| :u[ndo] undo last change(s)
|:undojoin| :undoj[oin] join next change with previous undo block |:undojoin| :undoj[oin] join next change with previous undo block
|:undolist| :undol[ist] list leafs of the undo tree |:undolist| :undol[ist] list leafs of the undo tree
@@ -1757,7 +1765,7 @@ tag command action ~
|:vsplit| :vs[plit] split current window vertically |:vsplit| :vs[plit] split current window vertically
|:vunmap| :vu[nmap] like ":unmap" but for Visual+Select mode |:vunmap| :vu[nmap] like ":unmap" but for Visual+Select mode
|:vunmenu| :vunme[nu] remove menu for Visual+Select mode |:vunmenu| :vunme[nu] remove menu for Visual+Select mode
|:windo| :windo execute command in each window |:windo| :wind[o] execute command in each window
|:write| :w[rite] write to a file |:write| :w[rite] write to a file
|:wNext| :wN[ext] write to a file and go to previous file in |:wNext| :wN[ext] write to a file and go to previous file in
argument list argument list

View File

@@ -2670,7 +2670,7 @@ $quote eval.txt /*$quote*
:his cmdline.txt /*:his* :his cmdline.txt /*:his*
:history cmdline.txt /*:history* :history cmdline.txt /*:history*
:history-indexing cmdline.txt /*:history-indexing* :history-indexing cmdline.txt /*:history-indexing*
:hor windows.txt /*:hor* :ho windows.txt /*:ho*
:horizontal windows.txt /*:horizontal* :horizontal windows.txt /*:horizontal*
:i insert.txt /*:i* :i insert.txt /*:i*
:ia map.txt /*:ia* :ia map.txt /*:ia*
@@ -3058,9 +3058,9 @@ $quote eval.txt /*$quote*
:promptrepl change.txt /*:promptrepl* :promptrepl change.txt /*:promptrepl*
:ps windows.txt /*:ps* :ps windows.txt /*:ps*
:psearch windows.txt /*:psearch* :psearch windows.txt /*:psearch*
:pt windows.txt /*:pt*
:ptN tagsrch.txt /*:ptN* :ptN tagsrch.txt /*:ptN*
:ptNext tagsrch.txt /*:ptNext* :ptNext tagsrch.txt /*:ptNext*
:pta windows.txt /*:pta*
:ptag windows.txt /*:ptag* :ptag windows.txt /*:ptag*
:ptf tagsrch.txt /*:ptf* :ptf tagsrch.txt /*:ptf*
:ptfirst tagsrch.txt /*:ptfirst* :ptfirst tagsrch.txt /*:ptfirst*

View File

@@ -1,4 +1,4 @@
*version9.txt* For Vim version 9.1. Last change: 2024 Dec 31 *version9.txt* For Vim version 9.1. Last change: 2025 Jan 02
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -31849,14 +31849,14 @@ Autocommands: ~
Commands: ~ Commands: ~
|:abstract| define a Vim9 abstract class |:abstract| declare a Vim9 abstract class
|:class| start of a class specification |:class| start of a class declaration
|:defer| call function when current function is done |:defer| call function when current function is done
|:echowindow| same as :echomsg, but use a popup window |:echowindow| same as :echomsg, but use a popup window
|:endinterface| end of an interface specification |:endinterface| end of an interface declaration
|:endclass| end of a class specification |:endclass| end of a class declaration
|:horizontal| following window command works horizontally |:horizontal| following window command works horizontally
|:interface| start of an interface specification |:interface| start of an interface declaration
|:public| prefix for a class or object member |:public| prefix for a class or object member
|:static| prefix for a class member or function |:static| prefix for a class member or function
|:this| prefix for an object member |:this| prefix for an object member

View File

@@ -1,4 +1,4 @@
*windows.txt* For Vim version 9.1. Last change: 2024 Dec 29 *windows.txt* For Vim version 9.1. Last change: 2025 Jan 02
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -263,8 +263,8 @@ and 'winminwidth' are relevant.
will be equalized only vertically. will be equalized only vertically.
Doesn't work for |:execute| and |:normal|. Doesn't work for |:execute| and |:normal|.
*:hor* *:horizontal* *:ho* *:horizontal*
:hor[izontal] {cmd} :ho[rizontal] {cmd}
Execute {cmd}. Currently only makes a difference for Execute {cmd}. Currently only makes a difference for
`horizontal wincmd =`, which will equalize windows only `horizontal wincmd =`, which will equalize windows only
horizontally. horizontally.
@@ -968,8 +968,8 @@ A few peculiarities:
trigger the ATTENTION and responding "A" for Abort, the preview window will trigger the ATTENTION and responding "A" for Abort, the preview window will
become empty. become empty.
*:pta* *:ptag* *:pt* *:ptag*
:pta[g][!] [tagname] :pt[ag][!] [tagname]
Does ":tag[!] [tagname]" and shows the found tag in a Does ":tag[!] [tagname]" and shows the found tag in a
"Preview" window without changing the current buffer or cursor "Preview" window without changing the current buffer or cursor
position. If a "Preview" window already exists, it is re-used position. If a "Preview" window already exists, it is re-used