4
我使用VIM很多,之前已經能夠獲得+xterm_clipboard
support working by using a script provided in a separate post on StackOverflow.我已經在我的機器上重新安裝了Ubuntu,並且從Ubuntu 14.04.4 LTS (Wily)到Ubuntu 16.04 LTS(Xenial)。Ubuntu 16.04 LTS - 無法在VIM中啓用xterm_clipboard
# Get the compile-dependencies of vim
sudo apt-get build-dep vim
# If you haven't got mercurial, get it
sudo apt-get install mercurial
# Get the source
hg clone https://vim.googlecode.com/hg/ vim_source
# Compile it
cd vim_source
./configure \
--enable-perlinterp=dynamic \
--enable-pythoninterp=dynamic \
--enable-rubyinterp=dynamic \
--enable-cscope \
--enable-gui=auto \
--enable-gtk2-check \
--enable-gnome-check \
--with-features=huge \
--with-x \
--with-compiledby="Your Name <[email protected]>" \
--with-python-config-dir=/usr/lib/python2.7/config
make && sudo make install
然而,這不再起作用了,我不能利用的「,+,ÿ猛拉緩衝到系統剪貼板中。我沒有看到任何明顯的.configure
輸出,但vim --version
始終顯示-xterm_clipboard
當我建立它。我該如何解決這個問題?