Skip to content

Commit 7af4e0e

Browse files
authored
Merge pull request #2176 from h-east/update-tabpage
Update tabpage.{txt,jax}
2 parents 9294720 + 5c0285b commit 7af4e0e

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

doc/tabpage.jax

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*tabpage.txt* For Vim バージョン 9.1. Last change: 2025 Jul 17
1+
*tabpage.txt* For Vim バージョン 9.1. Last change: 2025 Jul 20
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -145,8 +145,8 @@ CTRL-W gF カーソル下のファイル名のファイルを新しいタブペ
145145
:tabclose $ " 右端のタブページを閉じる
146146
:tabclose # " 最後にアクセスしたタブページを閉じる
147147
148-
タブが閉じられると、次のタブページがカレントタブページになります。この挙動は、
149-
'tabclose' オプションを使用してカスタマイズできます。
148+
タブページが閉じられると、次のタブページがカレントタブページになります。この挙
149+
動は、'tabclose' オプションを使用してカスタマイズできます。
150150

151151
*:tabo* *:tabonly*
152152
:tabo[nly][!] カレントタブページ以外のすべてのタブページを閉じます。
@@ -255,8 +255,8 @@ CTRL-W g<Tab> 最後にアクセスしたタブページへ移動します。
255255
:[N]tabm[ove]
256256
カレントタブページを N 番目のタブページの後ろに移動します。カ
257257
レントタブページを1番目のタブページにするにはゼロを指定します。
258-
N は移動前に数えられるので、2番目のタブがカレントタブであれば、
259-
`:tabmove 1` と `:tabmove 2` は効果がありません。
258+
N は移動前に数えられるので、2 番目のタブページがカレントタブで
259+
あれば、`:tabmove 1` と `:tabmove 2` は効果がありません。
260260
N を省略すると最後に移動します。 >
261261
:.tabmove " 何もしない
262262
:-tabmove " タブページを左に移動
@@ -279,9 +279,9 @@ CTRL-W g<Tab> 最後にアクセスしたタブページへ移動します。
279279
:tabmove +1 " 同上
280280
<
281281

282-
Note :Ntabmove を使うことでタブを N 番目のタブの後ろに移動することができること
283-
、:+Ntabmove を使って N 個後ろに移動できることに注意してください。この場合に
284-
+N が何を意味するかについては、|[range]| を参照してください。
282+
Note :Ntabmove を使うことでタブページを N 番目のタブページの後ろに移動すること
283+
ができることと、:+Ntabmove を使って N 個後ろに移動できることに注意してくださ
284+
い。この場合に +N が何を意味するかについては、|[range]| を参照してください。
285285

286286

287287
タブページごとにコマンドを実行するには:

en/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)