Ubuntu配置vim支持Python编程
来源:互联网 发布:linux如何进入文件夹 编辑:程序博客网 时间:2024/06/04 19:50
如未安装vim,使用下面命令安装:
sudo apt-get install vim
在用户目录下创建.vim目录,其下创建bundle目录:
mkdir .vim\bundle
安装Bundle/Vundle:
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
创建或编辑用户目录下的.vimrc文件,添加如下内容:
set nocompatibleset rtp+=~/.vim/bundle/vundle/call vundle#rc()" let Vundle manage Vundle" required!Bundle 'gmarik/vundle'" The bundles you install will be listed hereBundle 'scrooloose/nerdtree'Bundle 'davidhalter/jedi-vim'filetype plugin indent on" The rest of your config follows here.augroup vimrc_autocmdsautocmd!" highlight characters past column 120autocmd FileType python highlight Excess ctermbg=DarkGrey guibg=Blackautocmd FileType python match Excess /\%120v.*/autocmd FileType python set nowrapaugroup END" NerdTree Shortcut.map <f2> :NERDTreeToggle<cr>" automatically change window’s cwd to file’s dirset autochdir" Prefer spaces to tabsset tabstop=4set shiftwidth=4set expandtabset nu!
打开vim,键入命令“:BundleInstall”,等待自动安装插件完成(下面显示“done”)
在vim中键入命令“:BundleList”可以查看安装的插件。
0 0
- Ubuntu配置vim支持Python编程
- ubuntu 下vim 配置python
- Ubuntu 下 vim 搭建python 环境 配置
- Ubuntu 中vim配置Python开发环境
- Ubuntu 下 vim 搭建python 环境 配置
- 在ubuntu上编译vim并带有python支持
- ubuntu16 vim 支持python
- vim--支持python
- 简洁又好用的vim配置 支持 python 中文
- Ubuntu下将vim配置为Python IDE
- Ubuntu下将vim配置为Python IDE(转)
- 在ubuntu 15.10 上配置vim ,用来进行python 开发
- Ubuntu下将vim配置为Python IDE(转)
- 【Ubuntu】Ubuntu16.04配置python环境(vim、ipython)
- ubuntu配置vim为windows下C++编程风格
- 树莓派 让vim支持python
- ubuntu vim配置
- ubuntu下配置vim
- android JUnit单元测试
- 你安装的app应用是否对你的隐私进行了保护
- C语言Lesson4
- 电脑待机,休眠设置和使用(转)
- HDU4993 Revenge of ex-Euclid(hash)
- Ubuntu配置vim支持Python编程
- hdu 4994 Revenge of Nim (博弈)
- <<Python基础教程>>学习笔记 | 第02章 | 列表和数组
- 制成 ubuntu Server 的 U盘启动盘的方法
- android 之摄像头
- 我的五大开仓点与五大平仓点 开仓点
- 双边滤波
- egit教程
- OpenCV 2之批量打开文件夹下文件