Vim doesnt' copy/paste from X11 clipboard

It was too frustating when I couldnt copy/paste to/from vim.

$ vim --version|grep clipb
+clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments 
+xsmp_interact -xterm_clipboard -xterm_save

As you can see vim has disabled clipboard and xterm clipboard modules.

Luckily it can be fixed easilly by installing gvim on Arch like

$ sudo pacman -S gvim

Lets check now:

$ vim --version|grep clipb
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments 
+xsmp_interact +xterm_clipboard -xterm_save

Modules present and copy/paste works fine! Great success!

Comments