Skip to content

Commit 0c3e57b

Browse files
h-eastzzzyxwvut
authored andcommitted
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>
1 parent e80f345 commit 0c3e57b

4 files changed

Lines changed: 32 additions & 24 deletions

File tree

runtime/doc/index.txt

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 9.1. Last change: 2024 Dec 15
1+
*index.txt* For Vim version 9.1. Last change: 2025 Jan 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1185,6 +1185,7 @@ tag command action ~
11851185
|:abbreviate| :ab[breviate] enter abbreviation
11861186
|:abclear| :abc[lear] remove all abbreviations
11871187
|:aboveleft| :abo[veleft] make split window appear left or above
1188+
|:abstract| :abstract declare a Vim9 abstract class
11881189
|:all| :al[l] open a window for each file in the argument
11891190
list
11901191
|:amenu| :am[enu] enter new menu item for all modes
@@ -1224,7 +1225,7 @@ tag command action ~
12241225
|:breakdel| :breakd[el] delete a debugger breakpoint
12251226
|:breaklist| :breakl[ist] list debugger breakpoints
12261227
|:browse| :bro[wse] use file selection dialog
1227-
|:bufdo| :bufdo execute command in each listed buffer
1228+
|:bufdo| :bufd[o] execute command in each listed buffer
12281229
|:buffers| :buffers list all files in the buffer list
12291230
|:bunload| :bun[load] unload a specific buffer
12301231
|:bwipeout| :bw[ipeout] really delete a buffer
@@ -1240,7 +1241,7 @@ tag command action ~
12401241
|:cafter| :caf[ter] go to error after current cursor
12411242
|:call| :cal[l] call a function
12421243
|:catch| :cat[ch] part of a :try command
1243-
|:cbefore| :cbef[ore] go to error before current cursor
1244+
|:cbefore| :cbe[fore] go to error before current cursor
12441245
|:cbelow| :cbel[ow] go to error below current line
12451246
|:cbottom| :cbo[ttom] scroll to the bottom of the quickfix window
12461247
|:cbuffer| :cb[uffer] parse error messages and jump to first error
@@ -1300,7 +1301,7 @@ tag command action ~
13001301
|:debuggreedy| :debugg[reedy] read debug mode commands from normal input
13011302
|:def| :def define a Vim9 user function
13021303
|:defcompile| :defc[ompile] compile Vim9 user functions in current script
1303-
|:defer| :defer call function when current function is done
1304+
|:defer| :defe[r] call function when current function is done
13041305
|:delcommand| :delc[ommand] delete user-defined command
13051306
|:delfunction| :delf[unction] delete a user function
13061307
|:delmarks| :delm[arks] delete marks
@@ -1310,7 +1311,7 @@ tag command action ~
13101311
|:diffpatch| :diffp[atch] apply a patch and show differences
13111312
|:diffput| :diffpu[t] remove differences in other buffer
13121313
|:diffsplit| :diffs[plit] show differences with another file
1313-
|:diffthis| :diffthis make current window a diff window
1314+
|:diffthis| :difft[his] make current window a diff window
13141315
|:digraphs| :dig[raphs] show or enter digraphs
13151316
|:display| :di[splay] display registers
13161317
|:disassemble| :disa[ssemble] disassemble Vim9 user function
@@ -1338,12 +1339,15 @@ tag command action ~
13381339
|:emenu| :em[enu] execute a menu by name
13391340
|:endclass| :endclass end of a class specification
13401341
|:enddef| :enddef end of a user function started with :def
1342+
|:endenum| :endenum end of an enum specification
13411343
|:endif| :en[dif] end previous :if
1344+
|:endinterface| :endinterface end of an interface specification
13421345
|:endfor| :endfo[r] end previous :for
13431346
|:endfunction| :endf[unction] end of a user function started with :function
13441347
|:endtry| :endt[ry] end previous :try
13451348
|:endwhile| :endw[hile] end previous :while
13461349
|:enew| :ene[w] edit a new, unnamed buffer
1350+
|:enum| :enum start of an enum declaration
13471351
|:eval| :ev[al] evaluate an expression and discard the result
13481352
|:ex| :ex same as ":edit"
13491353
|:execute| :exe[cute] execute result of expressions
@@ -1382,7 +1386,7 @@ tag command action ~
13821386
|:highlight| :hi[ghlight] specify highlighting methods
13831387
|:hide| :hid[e] hide current buffer for a command
13841388
|:history| :his[tory] print a history list
1385-
|:horizontal| :hor[izontal] following window command work horizontally
1389+
|:horizontal| :ho[rizontal] following window command work horizontally
13861390
|:insert| :i[nsert] insert text
13871391
|:iabbrev| :ia[bbrev] like ":abbrev" but for Insert mode
13881392
|:iabclear| :iabc[lear] like ":abclear" but for Insert mode
@@ -1397,6 +1401,7 @@ tag command action ~
13971401
|:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode
13981402
|:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode
13991403
|:intro| :int[ro] print the introductory message
1404+
|:interface| :interface start of an interface declaration
14001405
|:isearch| :is[earch] list one line where identifier matches
14011406
|:isplit| :isp[lit] split window and jump to definition of
14021407
identifier
@@ -1421,7 +1426,7 @@ tag command action ~
14211426
|:last| :la[st] go to the last file in the argument list
14221427
|:language| :lan[guage] set the language (locale)
14231428
|:later| :lat[er] go to newer change, redo
1424-
|:lbefore| :lbef[ore] go to location before current cursor
1429+
|:lbefore| :lbe[fore] go to location before current cursor
14251430
|:lbelow| :lbel[ow] go to location below current line
14261431
|:lbottom| :lbo[ttom] scroll to the bottom of the location window
14271432
|:lbuffer| :lb[uffer] parse locations and jump to first location
@@ -1461,7 +1466,7 @@ tag command action ~
14611466
|:lockmarks| :loc[kmarks] following command keeps marks where they are
14621467
|:lockvar| :lockv[ar] lock variables
14631468
|:lolder| :lol[der] go to older location list
1464-
|:lopen| :lope[n] open location window
1469+
|:lopen| :lop[en] open location window
14651470
|:lprevious| :lp[revious] go to previous location
14661471
|:lpfile| :lpf[ile] go to last location in previous file
14671472
|:lrewind| :lr[ewind] go to the specified location, default first one
@@ -1496,7 +1501,7 @@ tag command action ~
14961501
|:mzfile| :mzf[ile] execute MzScheme script file
14971502
|:nbclose| :nbc[lose] close the current Netbeans session
14981503
|:nbkey| :nb[key] pass a key to Netbeans
1499-
|:nbstart| :nbs[art] start a new Netbeans session
1504+
|:nbstart| :nbs[tart] start a new Netbeans session
15001505
|:next| :n[ext] go to next file in the argument list
15011506
|:new| :new create a new empty window
15021507
|:nmap| :nm[ap] like ":map" but for Normal mode
@@ -1682,7 +1687,7 @@ tag command action ~
16821687
|:tNext| :tN[ext] jump to previous matching tag
16831688
|:tabNext| :tabN[ext] go to previous tab page
16841689
|:tabclose| :tabc[lose] close current tab page
1685-
|:tabdo| :tabdo execute command in each tab page
1690+
|:tabdo| :tabd[o] execute command in each tab page
16861691
|:tabedit| :tabe[dit] edit a file in a new tab page
16871692
|:tabfind| :tabf[ind] find file in 'path', edit it in a new tab page
16881693
|:tabfirst| :tabfir[st] go to first tab page
@@ -1706,6 +1711,8 @@ tag command action ~
17061711
|:terminal| :ter[minal] open a terminal window
17071712
|:tfirst| :tf[irst] jump to first matching tag
17081713
|:throw| :th[row] throw an exception
1714+
|:this| :this prefix for an object member during
1715+
initialization (e.g. on |new()|)
17091716
|:tjump| :tj[ump] like ":tselect", but jump directly when there
17101717
is only one match
17111718
|:tlast| :tl[ast] jump to last matching tag
@@ -1724,6 +1731,7 @@ tag command action ~
17241731
|:tselect| :ts[elect] list matching tags and select one
17251732
|:tunmap| :tunma[p] like ":unmap" but for Terminal-Job mode
17261733
|:tunmenu| :tu[nmenu] remove menu tooltip
1734+
|:type| :type create a type alias
17271735
|:undo| :u[ndo] undo last change(s)
17281736
|:undojoin| :undoj[oin] join next change with previous undo block
17291737
|:undolist| :undol[ist] list leafs of the undo tree
@@ -1757,7 +1765,7 @@ tag command action ~
17571765
|:vsplit| :vs[plit] split current window vertically
17581766
|:vunmap| :vu[nmap] like ":unmap" but for Visual+Select mode
17591767
|:vunmenu| :vunme[nu] remove menu for Visual+Select mode
1760-
|:windo| :windo execute command in each window
1768+
|:windo| :wind[o] execute command in each window
17611769
|:write| :w[rite] write to a file
17621770
|:wNext| :wN[ext] write to a file and go to previous file in
17631771
argument list

runtime/doc/tags

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2670,7 +2670,7 @@ $quote eval.txt /*$quote*
26702670
:his cmdline.txt /*:his*
26712671
:history cmdline.txt /*:history*
26722672
:history-indexing cmdline.txt /*:history-indexing*
2673-
:hor windows.txt /*:hor*
2673+
:ho windows.txt /*:ho*
26742674
:horizontal windows.txt /*:horizontal*
26752675
:i insert.txt /*:i*
26762676
:ia map.txt /*:ia*
@@ -3058,9 +3058,9 @@ $quote eval.txt /*$quote*
30583058
:promptrepl change.txt /*:promptrepl*
30593059
:ps windows.txt /*:ps*
30603060
:psearch windows.txt /*:psearch*
3061+
:pt windows.txt /*:pt*
30613062
:ptN tagsrch.txt /*:ptN*
30623063
:ptNext tagsrch.txt /*:ptNext*
3063-
:pta windows.txt /*:pta*
30643064
:ptag windows.txt /*:ptag*
30653065
:ptf tagsrch.txt /*:ptf*
30663066
:ptfirst tagsrch.txt /*:ptfirst*

runtime/doc/version9.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*version9.txt* For Vim version 9.1. Last change: 2024 Dec 31
1+
*version9.txt* For Vim version 9.1. Last change: 2025 Jan 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -31849,14 +31849,14 @@ Autocommands: ~
3184931849

3185031850
Commands: ~
3185131851

31852-
|:abstract| define a Vim9 abstract class
31853-
|:class| start of a class specification
31852+
|:abstract| declare a Vim9 abstract class
31853+
|:class| start of a class declaration
3185431854
|:defer| call function when current function is done
3185531855
|:echowindow| same as :echomsg, but use a popup window
31856-
|:endinterface| end of an interface specification
31857-
|:endclass| end of a class specification
31856+
|:endinterface| end of an interface declaration
31857+
|:endclass| end of a class declaration
3185831858
|:horizontal| following window command works horizontally
31859-
|:interface| start of an interface specification
31859+
|:interface| start of an interface declaration
3186031860
|:public| prefix for a class or object member
3186131861
|:static| prefix for a class member or function
3186231862
|:this| prefix for an object member

runtime/doc/windows.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*windows.txt* For Vim version 9.1. Last change: 2024 Dec 29
1+
*windows.txt* For Vim version 9.1. Last change: 2025 Jan 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -263,8 +263,8 @@ and 'winminwidth' are relevant.
263263
will be equalized only vertically.
264264
Doesn't work for |:execute| and |:normal|.
265265

266-
*:hor* *:horizontal*
267-
:hor[izontal] {cmd}
266+
*:ho* *:horizontal*
267+
:ho[rizontal] {cmd}
268268
Execute {cmd}. Currently only makes a difference for
269269
`horizontal wincmd =`, which will equalize windows only
270270
horizontally.
@@ -968,8 +968,8 @@ A few peculiarities:
968968
trigger the ATTENTION and responding "A" for Abort, the preview window will
969969
become empty.
970970

971-
*:pta* *:ptag*
972-
:pta[g][!] [tagname]
971+
*:pt* *:ptag*
972+
:pt[ag][!] [tagname]
973973
Does ":tag[!] [tagname]" and shows the found tag in a
974974
"Preview" window without changing the current buffer or cursor
975975
position. If a "Preview" window already exists, it is re-used

0 commit comments

Comments
 (0)