Skip to content

Commit 732240c

Browse files
authored
Merge pull request #1826 from h-east/update-gui_x11
Update gui_x11.{txt,jax}
2 parents 86a3a07 + d7a8fd4 commit 732240c

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

doc/gui_x11.jax

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_x11.txt* For Vim バージョン 9.1. Last change: 2024 Apr 22
1+
*gui_x11.txt* For Vim バージョン 9.1. Last change: 2024 Nov 11
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -703,6 +703,14 @@ X サーバーから直接読み込まれる。
703703
置き換わる。
704704
Note "+ レジスタのテキストはビジュアル選択しただけで変更されない。"* レジス
705705
タは変更される。つまり選択したテキストを上書きできる。
706+
707+
*W23*
708+
"* または "+ レジスタにヤンクしている時に、Vim が X11 セレクション (またはク
709+
リップボード) への接続を確立できない場合、レジスタ 0 が使用され、警告が出力さ
710+
れる:
711+
712+
Warning: Clipboard register not available, using register 0 ~
713+
706714
*x11-cut-buffer*
707715
既定では 8 つのカットバッファがある。CUT_BUFFER0 から CUT_BUFFER7 まで。Vim
708716
は CUTBUFFER0 のみを使う。これは xterm が標準的に使っているものである。

en/gui_x11.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_x11.txt* For Vim version 9.1. Last change: 2024 Apr 22
1+
*gui_x11.txt* For Vim version 9.1. Last change: 2024 Nov 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -708,6 +708,14 @@ Examples: (assuming the default option values)
708708
Note that the text in the "+ register remains available when making a Visual
709709
selection, which makes other text available in the "* register. That allows
710710
overwriting selected text.
711+
712+
*W23*
713+
When you are yanking into the "* or "+ register and Vim cannot establish a
714+
connection to the X11 selection (or clipboard), it will use register 0 and
715+
output a warning:
716+
717+
Warning: Clipboard register not available, using register 0 ~
718+
711719
*x11-cut-buffer*
712720
There are, by default, 8 cut-buffers: CUT_BUFFER0 to CUT_BUFFER7. Vim only
713721
uses CUT_BUFFER0, which is the one that xterm uses by default.

0 commit comments

Comments
 (0)