xterm-clipboard support on Vim under Arch
Jul15
I ran a system-upgrade on my Arch linux about 2 weeks ago and not until recently when I was using Vim heavily that I realized I lost my copy-paste support between vim instances on different terminal. I knew I solved this problem before but I just couldn’t remember how.
I finally found the solution and before I forget, I’m just going to share it here. This thread helped me.
Basically, vim that comes with Arch was compiled with minimal options. Some features (like xterm-clipboard support) are not included. The solution is to remove the default Vim and install GVim through pacman. GVim includes a richer-featured Vim. After that, don’t forget to insert below line on your ~/.vimrc:
set clipboard=unnamed