Merge pull request #31882 from zeertzjq/vim-0c3e57b

vim-patch: doc updates
This commit is contained in:
zeertzjq 2025-01-06 10:17:19 +08:00 committed by GitHub
commit 9b7905df16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 9 deletions

View File

@ -1190,7 +1190,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
@ -1206,7 +1206,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
@ -1262,6 +1262,7 @@ tag command action ~
|:delete| :d[elete] delete lines |:delete| :d[elete] delete lines
|:debug| :deb[ug] run a command in debugging mode |:debug| :deb[ug] run a command in debugging mode
|:debuggreedy| :debugg[reedy] read debug mode commands from normal input |:debuggreedy| :debugg[reedy] read debug mode commands from normal input
|: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
@ -1271,7 +1272,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
|:djump| :dj[ump] jump to #define |:djump| :dj[ump] jump to #define
@ -1372,7 +1373,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
@ -1410,7 +1411,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
@ -1618,7 +1619,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
@ -1687,7 +1688,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

@ -941,8 +941,8 @@ set in the preview window to be able to recognize it. The 'winfixheight'
option is set to have it keep the same height when opening/closing other option is set to have it keep the same height when opening/closing other
windows. windows.
*: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