Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enabling clipboard+ in vim

Tags:

vim

clipboard

How do I enable the clipboard+ feature in Vim?

All questions related to copy pasting from Vim to the OS clipboard specify that this feature must be enabled.

vim --version | grep "clipboard"

returns

-clipboard -xterm_clipboard
like image 613
Maciej Głowacki Avatar asked Aug 08 '26 22:08

Maciej Głowacki


1 Answers

You need to compile it with ./configure --enable=clipboard. If you are using Vim bundled by your distribution then you need to check which one provides integration with it (on Debian it is vim-gtk IIRC).

like image 140
Hauleth Avatar answered Aug 11 '26 08:08

Hauleth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!