用途:
set guioptions+=a
これは、GUI(gvimを)で動作します。参考資料は:help guioptions_a
です。
*guioptions_a* *'go-a'*
'a' Autoselect: If present, then whenever VISUAL mode is started,
or the Visual area extended, Vim tries to become the owner of
the windowing system's global selection. This means that the
Visually highlighted text is available for pasting into other
applications as well as into Vim itself. When the Visual mode
ends, possibly due to an operation on the text, or when an
application wants to paste the selection, the highlighted text
is automatically yanked into the "* selection register.
Thus the selection is still available for pasting into other
applications after the VISUAL mode has ended.
If not present, then Vim won't become the owner of the
windowing system's global selection unless explicitly told to
by a yank or delete operation for the "* register.
The same applies to the modeless selection.
vimタグの3K +フォロワーはどうですか?答えがあなたにとってとてもシンプルに見えたら、なぜそれを書き留めないのですか? – subshift
@マックスしかし、Stackoverflowのマニュアルは何ですか? – DerMike
あなたのシステムで '' + y'と '' * y'が動作しない場合は、X11と対話するための良い機能でコンパイルされたVimのバージョンが得られるかどうかチェックする必要があります。 – Benoit