Skip to content

Commit 2c69545

Browse files
authored
Merge pull request #1458 from vim-jp/hh-update-windows
Update windows.{txt,jax}
2 parents 3b8fc66 + 0da306c commit 2c69545

File tree

2 files changed

+29
-33
lines changed

2 files changed

+29
-33
lines changed

doc/windows.jax

+14-16
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*windows.txt* For Vim バージョン 9.1. Last change: 2022 Nov 27
1+
*windows.txt* For Vim バージョン 9.1. Last change: 2024 Feb 20
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -528,33 +528,31 @@ CTRL-W H はその逆を行う。
528528

529529
*CTRL-W_K*
530530
CTRL-W K カレントウィンドウを最上段に移動し、幅を最大にする。これは、カ
531-
レントウィンドウを閉じ、それから "topleft split" で別のウィン
532-
ドウを作るのと同様で、違いは新しいウィンドウにカレントウィンド
533-
ウの内容が表示されるということだけである。
531+
レントウィンドウに適用され、新しいウィンドウが作成されない点を
532+
除いて、`:topleft split` と同じように動作する。
534533

535534
*CTRL-W_J*
536535
CTRL-W J カレントウィンドウを最下段に移動し、幅を最大にする。これは、カ
537-
レントウィンドウを閉じ、それから "botright split" で別のウィン
538-
ドウを作るのと同様で、違いは新しいウィンドウにカレントウィンド
539-
ウの内容が表示されるということだけである。
536+
レントウィンドウに適用され、新しいウィンドウが作成されない点を
537+
除いて、`:botright split` と同じように動作する。
540538

541539
*CTRL-W_H*
542540
CTRL-W H カレントウィンドウを最左列に移動し、高さを最大にする。これは、
543-
カレントウィンドウを閉じ、それから `:vert topleft split` で別
544-
のウィンドウを作るのと同様で、違いは新しいウィンドウにカレント
545-
ウィンドウの中身が使われるということだけである。
541+
カレントウィンドウに適用され、新しいウィンドウが作成されない点
542+
を除いて、`:vert topleft split` と同じように動作する。
546543

547544
*CTRL-W_L*
548545
CTRL-W L カレントウィンドウを最右列に移動し、高さを最大にする。これは、
549-
カレントウィンドウを閉じ、それから `:vert botright split` で別
550-
のウィンドウを作るのと同様で、違いは新しいウィンドウにカレント
551-
ウィンドウの中身が使われるということだけである。
546+
カレントウィンドウに適用され、新しいウィンドウが作成されない点
547+
を除いて、`:vert botright split` と同じように動作する。
552548

553549
*CTRL-W_T*
554550
CTRL-W T カレントウィンドウを新しいタブページへ移動する。カレントタブ
555-
ページにウィンドウが1つしかないときは、このコマンドは失敗す
556-
る。カウントが指定されると、その番号のタブページの前に新しいタ
557-
ブページが開く。指定されないときはカレントタブページの後ろに開
551+
ページにウィンドウが1つしかないときは、このコマンドは失敗する。
552+
これは、以前のウィンドウが閉じられる点を除いて、`:tab split`
553+
と同じように動作する。
554+
カウントが指定されると、その番号のタブページの前に新しいタブ
555+
ページが開く。指定されないときはカレントタブページの後ろに開
558556
く。
559557

560558
==============================================================================

en/windows.txt

+15-17
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*windows.txt* For Vim version 9.1. Last change: 2022 Nov 27
1+
*windows.txt* For Vim version 9.1. Last change: 2024 Feb 20
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -519,35 +519,33 @@ horizontally split windows. CTRL-W H does it the other way around.
519519

520520
*CTRL-W_K*
521521
CTRL-W K Move the current window to be at the very top, using the full
522-
width of the screen. This works like closing the current
523-
window and then creating another one with ":topleft split",
524-
except that the current window contents is used for the new
525-
window.
522+
width of the screen. This works like `:topleft split`, except
523+
it is applied to the current window and no new window is
524+
created.
526525

527526
*CTRL-W_J*
528527
CTRL-W J Move the current window to be at the very bottom, using the
529-
full width of the screen. This works like closing the current
530-
window and then creating another one with ":botright split",
531-
except that the current window contents is used for the new
532-
window.
528+
full width of the screen. This works like `:botright split`,
529+
except it is applied to the current window and no new window
530+
is created.
533531

534532
*CTRL-W_H*
535533
CTRL-W H Move the current window to be at the far left, using the
536-
full height of the screen. This works like closing the
537-
current window and then creating another one with
538-
`:vert topleft split`, except that the current window contents
539-
is used for the new window.
534+
full height of the screen. This works like
535+
`:vert topleft split`, except it is applied to the current
536+
window and no new window is created.
540537

541538
*CTRL-W_L*
542539
CTRL-W L Move the current window to be at the far right, using the full
543-
height of the screen. This works like closing the
544-
current window and then creating another one with
545-
`:vert botright split`, except that the current window
546-
contents is used for the new window.
540+
height of the screen. This works like `:vert botright split`,
541+
except it is applied to the current window and no new window
542+
is created.
547543

548544
*CTRL-W_T*
549545
CTRL-W T Move the current window to a new tab page. This fails if
550546
there is only one window in the current tab page.
547+
This works like `:tab split`, except the previous window is
548+
closed.
551549
When a count is specified the new tab page will be opened
552550
before the tab page with this index. Otherwise it comes after
553551
the current tab page.

0 commit comments

Comments
 (0)