mirror of
https://github.com/vim/vim.git
synced 2025-11-14 23:04:02 -05:00
runtime(doc): update the :split help tags.
closes: #18640 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
*windows.txt* For Vim version 9.1. Last change: 2025 Oct 14
|
*windows.txt* For Vim version 9.1. Last change: 2025 Oct 26
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -154,7 +154,7 @@ the filler characters.
|
|||||||
CTRL-W s *CTRL-W_s*
|
CTRL-W s *CTRL-W_s*
|
||||||
CTRL-W S *CTRL-W_S*
|
CTRL-W S *CTRL-W_S*
|
||||||
CTRL-W CTRL-S *CTRL-W_CTRL-S*
|
CTRL-W CTRL-S *CTRL-W_CTRL-S*
|
||||||
:[N]sp[lit] [++opt] [+cmd] [file] *:sp* *:split*
|
:[N]sp[lit] [++opt] [+cmd] *:sp* *:split*
|
||||||
Split current window in two. The result is two viewports on
|
Split current window in two. The result is two viewports on
|
||||||
the same file.
|
the same file.
|
||||||
|
|
||||||
@@ -164,10 +164,6 @@ CTRL-W CTRL-S *CTRL-W_CTRL-S*
|
|||||||
'eadirection' isn't "hor", and one of them is higher than the
|
'eadirection' isn't "hor", and one of them is higher than the
|
||||||
current or the new window).
|
current or the new window).
|
||||||
|
|
||||||
If [file] is given it will be edited in the new window. If it
|
|
||||||
is not loaded in any buffer, it will be read. Else the new
|
|
||||||
window will use the already loaded buffer.
|
|
||||||
|
|
||||||
Note: CTRL-S does not work on all terminals and might block
|
Note: CTRL-S does not work on all terminals and might block
|
||||||
further input, use CTRL-Q to get going again.
|
further input, use CTRL-Q to get going again.
|
||||||
Also see |++opt| and |+cmd|.
|
Also see |++opt| and |+cmd|.
|
||||||
@@ -176,6 +172,19 @@ CTRL-W CTRL-S *CTRL-W_CTRL-S*
|
|||||||
mess up the window layout if this happens while making other
|
mess up the window layout if this happens while making other
|
||||||
window layout changes.
|
window layout changes.
|
||||||
|
|
||||||
|
:[N]sp[lit] [++opt] [+cmd] {file} *:split_f*
|
||||||
|
Like |:split| but create a new window and start editing file
|
||||||
|
{file} in it.
|
||||||
|
This behaves almost like a ":split" first, and then an ":edit"
|
||||||
|
command, but the alternate file name in the original window is
|
||||||
|
set to {file}.
|
||||||
|
If [+cmd] is given, execute the command when the file has been
|
||||||
|
loaded |+cmd|.
|
||||||
|
Also see |++opt|.
|
||||||
|
Make new window N high (default is to use half the existing
|
||||||
|
height). Reduces the current window height to create room
|
||||||
|
(and others, if the 'equalalways' option is set).
|
||||||
|
|
||||||
CTRL-W CTRL-V *CTRL-W_CTRL-V*
|
CTRL-W CTRL-V *CTRL-W_CTRL-V*
|
||||||
CTRL-W v *CTRL-W_v*
|
CTRL-W v *CTRL-W_v*
|
||||||
:[N]vs[plit] [++opt] [+cmd] [file] *:vs* *:vsplit*
|
:[N]vs[plit] [++opt] [+cmd] [file] *:vs* *:vsplit*
|
||||||
@@ -213,17 +222,7 @@ CTRL-W CTRL-N *CTRL-W_CTRL-N*
|
|||||||
command.
|
command.
|
||||||
|
|
||||||
:[N]new [++opt] [+cmd] {file}
|
:[N]new [++opt] [+cmd] {file}
|
||||||
:[N]sp[lit] [++opt] [+cmd] {file} *:split_f*
|
Like |:split_f|, create a new window and start editing {file}.
|
||||||
Create a new window and start editing file {file} in it. This
|
|
||||||
behaves almost like a ":split" first, and then an ":edit"
|
|
||||||
command, but the alternate file name in the original window is
|
|
||||||
set to {file}.
|
|
||||||
If [+cmd] is given, execute the command when the file has been
|
|
||||||
loaded |+cmd|.
|
|
||||||
Also see |++opt|.
|
|
||||||
Make new window N high (default is to use half the existing
|
|
||||||
height). Reduces the current window height to create room
|
|
||||||
(and others, if the 'equalalways' option is set).
|
|
||||||
|
|
||||||
:[N]vne[w] [++opt] [+cmd] [file] *:vne* *:vnew*
|
:[N]vne[w] [++opt] [+cmd] [file] *:vne* *:vnew*
|
||||||
Like |:new|, but split vertically. If 'equalalways' is set
|
Like |:new|, but split vertically. If 'equalalways' is set
|
||||||
|
|||||||
Reference in New Issue
Block a user