Skip to content

Commit 0400e7c

Browse files
committed
Update remote from Vim 8.0 to 8.1
1 parent 2443a33 commit 0400e7c

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

doc/remote.jax

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*remote.txt* For Vim バージョン 8.0. Last change: 2015 Mar 01
1+
*remote.txt* For Vim バージョン 8.1. Last change: 2017 Nov 12
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -98,7 +98,7 @@ Vimクライアントサーバー通信 *client-server*
9898
"BLA" という名のリモートサーバーで編集中の全てのファイルを保存して終了する: >
9999
vim --servername BLA --remote-send '<C-\><C-N>:wqa<CR>'
100100
101-
サーバー名 ~
101+
サーバー名 *client-server-name*
102102

103103
デフォルトではVimは自分が起動された時の名前(gvim, egvim ...)のサーバーになろう
104104
とする。これは引数 --servername で変更できる。指定した名前が利用できない場合に
@@ -145,6 +145,7 @@ Vim script にはコマンドサーバーを操作するために幾つか関数
145145
|eval.txt|を参照するか、関数名の上でCTRL-]を使って完全な解説を参照すること。
146146

147147
概要 説明 ~
148+
remote_startserver( name) サーバーを開始する
148149
remote_expr( server, string, idvar) 式を送信する
149150
remote_send( server, string, idvar) キーシーケンスを送信する
150151
serverlist() 利用可能なサーバーのリストを得る
@@ -173,8 +174,9 @@ X11のGUI Vim(gvim)が起動すると、ルートウィンドウの 'VimRegistry
173174
送信サーバー名を登録しようと試みる。
174175

175176
X11ディスプレイにアクセスできる非GUIのVim(|xterm-clipboard|が有効になっている)
176-
も、サーバー名が引数 --servername で明示的に与えられればコマンドサーバーとして
177-
振舞うことができる。
177+
も、サーバー名が引数 --servername で明示的に与えられるか、Vim が
178+
|+autoservername| 機能付きでビルドされている場合は、コマンドサーバーとして振舞
179+
うことができる。
178180

179181
引数 --servername に空のサーバー名を与えればコマンドサーバー機能を無効にできる。
180182

en/remote.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*remote.txt* For Vim version 8.0. Last change: 2015 Mar 01
1+
*remote.txt* For Vim version 8.1. Last change: 2017 Nov 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -99,7 +99,7 @@ Tell the remote server "BLA" to write all files and exit: >
9999
vim --servername BLA --remote-send '<C-\><C-N>:wqa<CR>'
100100
101101
102-
SERVER NAME
102+
SERVER NAME *client-server-name*
103103

104104
By default Vim will try to register the name under which it was invoked (gvim,
105105
egvim ...). This can be overridden with the --servername argument. If the
@@ -149,6 +149,7 @@ the description in |eval.txt| or use CTRL-] on the function name to jump to
149149
the full explanation.
150150

151151
synopsis explanation ~
152+
remote_startserver( name) run a server
152153
remote_expr( server, string, idvar) send expression
153154
remote_send( server, string, idvar) send key sequence
154155
serverlist() get a list of available servers
@@ -180,7 +181,8 @@ name on the 'VimRegistry' property on the root window.
180181

181182
A non GUI Vim with access to the X11 display (|xterm-clipboard| enabled), can
182183
also act as a command server if a server name is explicitly given with the
183-
--servername argument.
184+
--servername argument, or when Vim was build with the |+autoservername|
185+
feature.
184186

185187
An empty --servername argument will cause the command server to be disabled.
186188

0 commit comments

Comments
 (0)