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
当我建立它。我该如何解决这个问题?