剪贴板支持(未解决)
- 发现自己的
SpaceVim
不能使用系统剪贴板,寄存器中也没有"+
- 原因是自己安装的
vim
没有clipboard
支持
![]()
文档中提到 X11 提供剪贴板支持
![]()
选择重新编译安装vim
$ git clone git@github.com:vim/vim.git
$ cd vim/src
$ make
发现依旧不支持X11:
![]()
同时还有报错:
no terminal library found
checking for tgetent()... configure: error: NOT FOUND!
You need to install a terminal library; for example ncurses.
Or specify the name of the liburl.queryrary with --with-tlib.
Makefile:1874: recipe for target 'auto/config.mk' failed
make: *** [auto/config.mk] Error 1
- 先解决报错:
$ sudo apt install libncurses5-dev- 继续make
- 查看vim版本,发现安装成功,但仍旧没有
clipboard
支持
![]()
问题还没解决,问过其他人,仍旧未解决问题
网友评论