Skip to content

Commit d3170f5

Browse files
h-eastchrisbra
authored andcommitted
runtime(doc): Tweak documentation about tab pages
closes: #17799 Signed-off-by: Hirohito Higashi <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent a2578e0 commit d3170f5

3 files changed

Lines changed: 15 additions & 16 deletions

File tree

runtime/doc/index.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 9.1. Last change: 2025 Jul 17
1+
*index.txt* For Vim version 9.1. Last change: 2025 Jul 20
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -530,7 +530,7 @@ tag command action in op-pending and Visual mode ~
530530
tag command action in Normal mode ~
531531
------------------------------------------------------------------------------
532532
|CTRL-W_CTRL-B| CTRL-W CTRL-B same as "CTRL-W b"
533-
|CTRL-W_CTRL-C| CTRL-W CTRL-C no-op |CTRL-W_CTRL-C|
533+
|CTRL-W_CTRL-C| CTRL-W CTRL-C no-op
534534
|CTRL-W_CTRL-D| CTRL-W CTRL-D same as "CTRL-W d"
535535
|CTRL-W_CTRL-F| CTRL-W CTRL-F same as "CTRL-W f"
536536
CTRL-W CTRL-G same as "CTRL-W g .."

runtime/doc/options.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2025 Jul 16
1+
*options.txt* For Vim version 9.1. Last change: 2025 Jul 20
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3007,7 +3007,6 @@ A jump table for the options with a short description can be found at |Q_op|.
30073007
a pattern search that does not match anything), none of the anchors
30083008
will be used.
30093009

3010-
30113010
*'dex'* *'diffexpr'*
30123011
'diffexpr' 'dex' string (default "")
30133012
global

runtime/doc/tabpage.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*tabpage.txt* For Vim version 9.1. Last change: 2025 Jul 17
1+
*tabpage.txt* For Vim version 9.1. Last change: 2025 Jul 20
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,9 +38,9 @@ commands, |:windo|, |:all| and |:ball| (when not using the |:tab| modifier).
3838
The commands that are aware of other tab pages than the current one are
3939
mentioned below.
4040

41-
Tabs are also a nice way to edit a buffer temporarily without changing the
42-
current window layout. Open a new tab page, do whatever you want to do and
43-
close the tab page.
41+
Tab pages are also a nice way to edit a buffer temporarily without changing
42+
the current window layout. Open a new tab page, do whatever you want to do
43+
and close the tab page.
4444

4545
==============================================================================
4646
2. Commands *tab-page-commands*
@@ -145,7 +145,7 @@ something else.
145145
:tabclose $ " close the last tab page
146146
:tabclose # " close the last accessed tab page
147147
148-
When a tab is closed the next tab page will become the current one. This
148+
When a tab page is closed the next tab page will become the current one. This
149149
behaviour can be customized using the 'tabclose' option.
150150

151151
*:tabo* *:tabonly*
@@ -252,7 +252,7 @@ REORDERING TAB PAGES:
252252
:[N]tabm[ove]
253253
Move the current tab page to after tab page N. Use zero to
254254
make the current tab page the first one. N is counted before
255-
the move, thus if the second tab is the current one,
255+
the move, thus if the second tab page is the current one,
256256
`:tabmove 1` and `:tabmove 2` have no effect.
257257
Without N the tab page is made the last one. >
258258
:.tabmove " do nothing
@@ -276,9 +276,9 @@ REORDERING TAB PAGES:
276276
:tabmove +1 " as above
277277
278278
279-
Note that although it is possible to move a tab behind the N-th one by using
280-
:Ntabmove. And move it by N places by using :+Ntabmove. For clarification what
281-
+N means in this context see |[range]|.
279+
Note that although it is possible to move a tab page behind the N-th one by
280+
using :Ntabmove. And move it by N places by using :+Ntabmove. For
281+
clarification what +N means in this context see |[range]|.
282282

283283

284284
LOOPING OVER TAB PAGES:
@@ -363,8 +363,8 @@ A "+" will be shown for a tab page that has a modified window. The number of
363363
windows in a tabpage is also shown. Thus "3+" means three windows and one of
364364
them has a modified buffer.
365365

366-
An "X" (close button) will appear in the last column when multiple tabs are
367-
open, but only if the 'mouse' is enabled.
366+
An "X" (close button) will appear in the last column when multiple tab pages
367+
are open, but only if the 'mouse' is enabled.
368368

369369
The 'tabline' option allows you to define your preferred way to tab pages
370370
labels. This isn't easy, thus an example will be given here.
@@ -398,7 +398,7 @@ pages and define labels for them. Then get the label for each tab page. >
398398
let s ..= ' %{MyTabLabel(' .. (i + 1) .. ')} '
399399
endfor
400400
401-
" after the last tab fill with TabLineFill and reset tab page nr
401+
" after the last tab page fill with TabLineFill and reset tab page nr
402402
let s ..= '%#TabLineFill#%T'
403403
404404
" right-align the label to close the current tab page

0 commit comments

Comments
 (0)