Skip to content

Commit 3e27006

Browse files
ghubstatchrisbra
authored andcommitted
runtime(doc): Update vim.1 to include --remote-tab options
closes: #21383 Signed-off-by: ghubstat <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent 18ec0a7 commit 3e27006

2 files changed

Lines changed: 59 additions & 34 deletions

File tree

‎runtime/doc/vim.1‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH VIM 1 "2026 Sep 08"
1+
.TH VIM 1 "2026 Sep 28"
22
.SH NAME
33
vim \- Vi IMproved, a programmer's text editor
44
.SH SYNOPSIS
@@ -502,6 +502,18 @@ Connect to a Vim server and send {keys} to it.
502502
\-\-remote\-silent
503503
As \-\-remote, but without the warning when no server is found.
504504
.TP
505+
\-\-remote\-tab
506+
As \-\-remote, but open each file in a new tabpage.
507+
.TP
508+
\-\-remote\-tab\-silent
509+
As \-\-remote-silent, but open each file in a new tabpage.
510+
.TP
511+
\-\-remote\-tab\-wait
512+
As \-\-remote\-wait, but open each file in a new tabpage.
513+
.TP
514+
\-\-remote\-tab\-wait\-silent
515+
As \-\-remote\-wait\-silent, but open each file in a new tabpage.
516+
.TP
505517
\-\-remote\-wait
506518
As \-\-remote, but Vim does not exit until the files have been edited.
507519
.TP

‎runtime/doc/vim.man‎

Lines changed: 46 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,21 @@ OPTIONS
373373
As --remote, but without the warning when no server is
374374
found.
375375

376+
--remote-tab
377+
As --remote, but open each file in a new tabpage.
378+
379+
--remote-tab-silent
380+
As --remote-silent, but open each file in a new tabpage.
381+
382+
--remote-tab-wait
383+
As --remote-wait, but open each file in a new tabpage.
384+
385+
--remote-tab-wait-silent
386+
As --remote-wait-silent, but open each file in a new tab‐
387+
page.
388+
376389
--remote-wait
377-
As --remote, but Vim does not exit until the files have
390+
As --remote, but Vim does not exit until the files have
378391
been edited.
379392

380393
--remote-wait-silent
@@ -385,62 +398,62 @@ OPTIONS
385398
List the names of all Vim servers that can be found.
386399

387400
--servername {name}
388-
Use {name} as the server name. Used for the current Vim,
401+
Use {name} as the server name. Used for the current Vim,
389402
unless used with a --remote argument, then it's the name of
390-
the server to connect to. If the socketserver backend is
403+
the server to connect to. If the socketserver backend is
391404
being used, if the name starts with "/", "./", or "../", it
392-
is taken as either an absolute, relative or relative path
405+
is taken as either an absolute, relative or relative path
393406
to the socket.
394407

395408
--clientserver {backend}
396-
Use {backend} as the backend for clientserver functional‐
409+
Use {backend} as the backend for clientserver functional‐
397410
ity, either "socket", "x11", or "mswin" respectively. Only
398411
available when compiled with both socketserver and X11 fea‐
399-
tures present, or if compiled with socketserver on MS-Win‐
400-
dows. The $VIM_CLIENTSERVER environment variable may also
401-
be set which will be interpreted in the same way, but the
412+
tures present, or if compiled with socketserver on MS-Win‐
413+
dows. The $VIM_CLIENTSERVER environment variable may also
414+
be set which will be interpreted in the same way, but the
402415
--clientserver argument will always take priority.
403416

404417
--socketid {id}
405-
GTK GUI only: Use the GtkPlug mechanism to run gVim in an‐
418+
GTK GUI only: Use the GtkPlug mechanism to run gVim in an‐
406419
other window.
407420

408421
--startuptime {file}
409422
During startup write timing messages to the file {fname}.
410423

411424
--stdio-channel
412-
Use the stdin and stdout of Vim for a channel instead of
425+
Use the stdin and stdout of Vim for a channel instead of
413426
for a terminal. Implies "-es": nothing is displayed, no Ex
414-
commands are read and the GUI is not started. A script
415-
opens the channel with ch_open() and the address "stdio",
416-
see ":help --stdio-channel". Only available when compiled
427+
commands are read and the GUI is not started. A script
428+
opens the channel with ch_open() and the address "stdio",
429+
see ":help --stdio-channel". Only available when compiled
417430
with the channel feature.
418431

419-
--ttyfail When stdin or stdout is not a terminal (tty) then exit
432+
--ttyfail When stdin or stdout is not a terminal (tty) then exit
420433
right away.
421434

422435
--version Print version information and exit.
423436

424437
--windowid {id}
425-
Win32 GUI only: Make gVim try to use the window {id} as a
438+
Win32 GUI only: Make gVim try to use the window {id} as a
426439
parent, so that it runs inside that window.
427440

428441
ON-LINE HELP
429-
Type ":help" in Vim to get started. Type ":help subject" to get help
430-
on a specific subject. For example: ":help ZZ" to get help for the
431-
"ZZ" command. Use <Tab> and CTRL-D to complete subjects (":help cmd‐
432-
line-completion"). Tags are present to jump from one place to another
442+
Type ":help" in Vim to get started. Type ":help subject" to get help
443+
on a specific subject. For example: ":help ZZ" to get help for the
444+
"ZZ" command. Use <Tab> and CTRL-D to complete subjects (":help cmd‐
445+
line-completion"). Tags are present to jump from one place to another
433446
(sort of hypertext links, see ":help"). All documentation files can be
434447
viewed in this way, for example ":help syntax.txt".
435448

436449
FILES
437450
/usr/local/share/vim/vim??/doc/*.txt
438-
The Vim documentation files. Use ":help doc-file-list"
451+
The Vim documentation files. Use ":help doc-file-list"
439452
to get the complete list.
440453
vim?? is short version number, like vim91 for Vim 9.1
441454

442455
/usr/local/share/vim/vim??/doc/tags
443-
The tags file used for finding information in the docu‐
456+
The tags file used for finding information in the docu‐
444457
mentation files.
445458

446459
/usr/local/share/vim/vim??/syntax/syntax.vim
@@ -453,18 +466,18 @@ FILES
453466
System wide Vim initializations.
454467

455468
~/.vimrc, ~/.vim/vimrc, $XDG_CONFIG_HOME/vim/vimrc
456-
Your personal Vim initializations (first one found is
469+
Your personal Vim initializations (first one found is
457470
used).
458471

459472
/usr/local/share/vim/gvimrc
460473
System wide gvim initializations.
461474

462475
~/.gvimrc, ~/.vim/gvimrc, $XDG_CONFIG_HOME/vim/gvimrc
463-
Your personal gVim initializations (first one found is
476+
Your personal gVim initializations (first one found is
464477
used).
465478

466479
/usr/local/share/vim/vim??/optwin.vim
467-
Script used for the ":options" command, a nice way to
480+
Script used for the ":options" command, a nice way to
468481
view and set options.
469482

470483
/usr/local/share/vim/vim??/menu.vim
@@ -474,11 +487,11 @@ FILES
474487
Script to generate a bug report. See ":help bugs".
475488

476489
/usr/local/share/vim/vim??/filetype.vim
477-
Script to detect the type of a file by its name. See
490+
Script to detect the type of a file by its name. See
478491
":help 'filetype'".
479492

480493
/usr/local/share/vim/vim??/scripts.vim
481-
Script to detect the type of a file by its contents.
494+
Script to detect the type of a file by its contents.
482495
See ":help 'filetype'".
483496

484497
/usr/local/share/vim/vim??/print/*.ps
@@ -493,17 +506,17 @@ SEE ALSO
493506
AUTHOR
494507
Most of Vim was made by Bram Moolenaar, with a lot of help from others.
495508
See ":help credits" in Vim.
496-
Vim is based on Stevie, worked on by: Tim Thompson, Tony Andrews and
509+
Vim is based on Stevie, worked on by: Tim Thompson, Tony Andrews and
497510
G.R. (Fred) Walter. Although hardly any of the original code remains.
498511

499512
BUGS
500513
Probably. See ":help todo" for a list of known problems.
501514

502-
Note that a number of things that may be regarded as bugs by some, are
503-
in fact caused by a too-faithful reproduction of Vi's behaviour. And
504-
if you think other things are bugs "because Vi does it differently",
505-
you should take a closer look at the vi_diff.txt file (or type :help
506-
vi_diff.txt when in Vim). Also have a look at the 'compatible' and
515+
Note that a number of things that may be regarded as bugs by some, are
516+
in fact caused by a too-faithful reproduction of Vi's behaviour. And
517+
if you think other things are bugs "because Vi does it differently",
518+
you should take a closer look at the vi_diff.txt file (or type :help
519+
vi_diff.txt when in Vim). Also have a look at the 'compatible' and
507520
'cpoptions' options.
508521

509-
2026 Sep 08 VIM(1)
522+
2026 Sep 28 VIM(1)

0 commit comments

Comments
 (0)