compile vim with python
来源:互联网 发布:淘宝网店开店流程2017 编辑:程序博客网 时间:2024/05/22 17:27
参考:https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source
https://stackoverflow.com/questions/20104827/vim-loading-python-on-linux
环境 :raspbian系统
1、完全卸载vim
(1)使用whereis vim 命令 查看vim命令的路径,然后用rm命令逐个删除
(2)用sudo find / -name vim命令查找所有的vim相关的文件或者文件夹,然后删除
2、github下载vim的源码文件并进入vim源码目录
3、配置编译设置
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes\
--enable-pythoninterp=yes \
--enable-python3interp=yes \
=/usr/lib/python3.5/config \
--enable-perlinterp=yes\
--enable-luainterp=yes \
--enable-gui=gtk2--enable-cscope --prefix=/usr
一定不要加上 --with-python3-config-dir =<python路径>
4、make VIMRUNTIMEDIR=/usr/share/vim/vim80
5、sudo make install
6、vim --version | grep python命令会显示出vim已经支持python,现在就可以使用依靠python的插件了,如YCM
- compile vim with python
- vim 重新编译,支持lua (compile vim with lua)
- Configure and compile Python with Zlib
- compile vim
- Compiling VIM with python support
- python compile
- A Mainframe IDE Powered By Unix Technology [12] - Integrate submit JCL and compile with Vim
- vim support python syntax with pyflakes
- error: required vim compiled with +python
- compile with math.h
- Qt5 compile with vs2008
- Compile libRTMP with MinGW
- Compile libRTMP with MinGW
- compile boost with -fPIC
- Compile TensorFlow with CMake
- Ubuntu 16.04 vim 报错: required vim compiled with +python
- compile vim and patch vimgdb
- cross-compile ffmpeg with neon
- codeM题目-寻找最小difference
- MySQL删除列无响应问题
- [转]Java 枚举7常见种用法
- pptp iptables snat记录
- PHP 压缩文件夹
- compile vim with python
- C++搜索与回溯算法之置棋问题
- make[1]: warning: Clock skew detected. Your build may be incomplete.
- iOS开发之如何在Xcode中显示断点堆栈
- IntelliJ Idea 常用快捷键
- 测试技能树(职业发展路线)
- 《科技之巅2》序——机器智能数据智能:工具之王
- win10环境下安装Ubantu双系统(超详解)
- 类模板和函数模板的使用