kali linux 里vim如何使用_kali下安在vim

1. 下载vim

git clone https://github.com/vim/vim.git

git pull

git fetch

2. 配置(How to enable +python feature in vim  [--enable-pythoninterp])

./configure --enable-multibyte  --enable-rubyinterp=dynamic --with-python3-config-dir=/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu/  --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu/ --enable-pythoninterp  --enable-cscope --enable-gui=auto --with-features=huge --with-x --enable-fontset --with-compiledby=yugengde --enable-fail-if-missing

3. 编译安装

make

make install

注意的问题

(1)如果安装失败, 就将之前安装的软件进行卸载

makecleanmakedistcleanmake uninstall

(2)替换之前的符号链接

rm /usr/bin/vimln -s /usr/local/bin/vim /usr/bin/vim

(3)打开vim,终端出现

The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core li...ompile YCM before using it. Follow the instructions in the documentation.

apt-get installcmake

cd~/.vim/bundle/YouCompleteMe/./install.sh

(4)使用tab补全时出现   E121: Undefined variable: g:pydiction_location

cd ~/.vim/bundle/git clone https://github.com/rkulla/pydiction.git

编辑.vimrc文件

filetype plugin on

let g:pydiction_location = '~/.vim/bundle/Pydiction/complete-dict'

来源:oschina

链接:https://my.oschina.net/u/4385489/blog/4034174

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值