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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,9 +38,9 @@ commands, |:windo|, |:all| and |:ball| (when not using the |:tab| modifier).
38
38
The commands that are aware of other tab pages than the current one are
39
39
mentioned below.
40
40
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.
44
44
45
45
==============================================================================
46
46
2. Commands *tab-page-commands*
@@ -145,7 +145,7 @@ something else.
145
145
:tabclose $ " close the last tab page
146
146
:tabclose # " close the last accessed tab page
147
147
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
149
149
behaviour can be customized using the 'tabclose' option.
150
150
151
151
*:tabo* *:tabonly*
@@ -252,7 +252,7 @@ REORDERING TAB PAGES:
252
252
:[N] tabm[ove]
253
253
Move the current tab page to after tab page N. Use zero to
254
254
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,
256
256
`:tabmove 1` and `:tabmove 2` have no effect.
257
257
Without N the tab page is made the last one. >
258
258
:.tabmove " do nothing
@@ -276,9 +276,9 @@ REORDERING TAB PAGES:
276
276
:tabmove +1 " as above
277
277
278
278
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] | .
282
282
283
283
284
284
LOOPING OVER TAB PAGES:
@@ -363,8 +363,8 @@ A "+" will be shown for a tab page that has a modified window. The number of
363
363
windows in a tabpage is also shown. Thus "3+" means three windows and one of
364
364
them has a modified buffer.
365
365
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.
368
368
369
369
The 'tabline' option allows you to define your preferred way to tab pages
370
370
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. >
398
398
let s ..= ' %{MyTabLabel(' .. (i + 1) .. ')} '
399
399
endfor
400
400
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
402
402
let s ..= '%#TabLineFill#%T'
403
403
404
404
" right-align the label to close the current tab page
0 commit comments