Reputation: 31
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
Upvotes: 3
Views: 2670
Reputation: 23586
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).
Upvotes: 2