Skip to content

Comment on Pasting in command line Vim doesn't have to suckparent

Comments

It's only available when Vim is compiled with +xclipboard support. I actually found that on an older version of CentOS (v4, I don't know if it's different in newer versions), the 'vim' command and the 'gvim' command were separately compiled binaries so that 'vim' command didn't share the +xclipboard support. On Debian/Ubuntu, I believe they are the same binary.

Exactly. On my machine (Ubuntu 11.04) the binary (/usr/bin/vim.basic) provided by the vim package is compiled with -clipboard -xterm_clipboard, and the binary (/usr/bin/vim.gnome) provided by vim-gnome is compiled with +clipboard +xterm_clipboard.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.