【发布时间】:2016-05-06 18:47:42
【问题描述】:
我经常使用 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 (赛尼尔)。
# 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 <youremail@domain.com>" \
--with-python-config-dir=/usr/lib/python2.7/config
make && sudo make install
但是,这不再有效,我无法使用 ",+,y 将缓冲区拉到系统中剪贴板。我在.configure 输出中看不到任何明显的内容,但vim --version 在我构建它时总是显示-xterm_clipboard。我该如何解决这个问题?
【问题讨论】:
标签: linux ubuntu vim ubuntu-16.04