在我先前的惠灵顿安装中,当我选择一些直观文字(不使用 mo!)时,它将自动将其放在我的X11手提板上。 然后,我自然会利用中间ton子,在其他地方重复这一案文。
随着我新安装的六氯环己烷,这只字塔再起作用(即以视觉方式选取案文,再用X11排在纸板上)。
我怎么能够回头来回头来。
(我对<代码>*y或>+y
不感兴趣。) 解决办法在我的系统上不会奏效。
Thanks in advance!
在我先前的惠灵顿安装中,当我选择一些直观文字(不使用 mo!)时,它将自动将其放在我的X11手提板上。 然后,我自然会利用中间ton子,在其他地方重复这一案文。
随着我新安装的六氯环己烷,这只字塔再起作用(即以视觉方式选取案文,再用X11排在纸板上)。
我怎么能够回头来回头来。
(我对<代码>*y或>+y
不感兴趣。) 解决办法在我的系统上不会奏效。
Thanks in advance!
The visual selection (v, V, or CTRL-V) can automatically be copied to the X11 selection (* buffer).
In non-gui mode the clipboard option controls this (only supported if +xterm_clipboard appears when you type vim --version). In gui mode guioptions controls it.
This makes all Visual mode selections automatically go to the X11 primary selection:
set clipboard+=autoselect
set guioptions+=a
由此而来:
set clipboard-=autoselect
set guioptions-=a
In vim see:
help clipboard
(所需简称)
使用:
set guioptions+=a
与德国马克公司合作。 参考资料见: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在古诺梅-终点时,这一功能只是行之有效的。
When using Vim inside Konsole this does not work.
Using gvim -v
will launch a terminal version of GVim where set guioptions+=a
works:
any text selected within that Vim is automatically copied to Linux s selection buffer.
从挑选的缓冲新闻中转载的是中段。
在我的Debian I上,我安装了体积聚器。
kg-维-维-维-维-维-维-维-维-维-维-维-维载者邮寄名单的一篇评论表明,要安装正辛、正m或无止境。
由于我新安装了Kali,我通过安装了用于 g的体积包,解决了上述问题。 轮式包裹将“-xterm_clip板”改为“+xterm_clip板”,这个问题已经解决。 在选择正文后,案文将自动复制到系统单板上。
Is it possible to update vim plugins automatically?
How can I configure vim to autowrite buffers after switching with alt-tab to another application?
I m writing a lot of python code recently, and i used the tab-to-space mode in vim. I was just wondering how would i unindent in vim without leaving edit mode for example after i finished if...: block....
I ve been googling around trying to figure out if it s possible to use my mouse wheel to scroll while inside Vim in Mac s Terminal, with no luck. It seems as if only X11 or iTerm support this. Before ...
How do I delete comments in XML? If the opening and the closing comment tags are on the same line, I use :g/^<!--.*-->$/d to delete the comment. How to delete the comments that are spread ...
I have the following in my .vimrc to highlight lines longer than 80 chars: highlight OverLength ctermbg=red ctermfg=white guibg=#592929 match OverLength /\%81v.*/ This works quite well. However, the ...
Whenever I start a shell in vim using :sh, it doesn t source my ~/.bashrc file. How can I get it to do this automatically?
I’ve got a lot of plugins enabled when using Vim – I have collected plugins over the years. I’m a bit fed up with how long Vim takes to start now, so I’d like to profile its startup and see which of ...