Tuesday, November 15, 2011

Vim Clipboard Support on Ubuntu

If recently wondered why clipboard doesn't work in vim on ubuntu (eg. "+y to copy to clipboard). It turned out, that the vim package doesn't ship with clipboard support enabled:

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

You need to install vim-gui-common to get clipboard support:

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


1 comment:

  1. What is a casino? | JMT Hub
    A gambling venue is located near the city center, so 광주 출장마사지 if you're going to visit a casino in 안동 출장안마 the city center, what 안양 출장샵 is a casino? 의정부 출장안마 · The 군산 출장안마 city center

    ReplyDelete