当前位置: 移动技术网 > 科技>操作系统>Linux > linux vbundle插件配置

linux vbundle插件配置

2019年04月15日  | 移动技术网科技  | 我要评论

1.新建目录,clone源码

mkdir ~/.vim/bundle/

git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

2.添加配置,vim /etc/vim/vimrc

set nu                                                                         
set encoding=utf8  "设置文件编码
set paste  "粘贴文本,不改变原先排版格式
set expandtab  "空格代替制表符
set autoindent
set tabstop=4
set softtabstop=4 "缩进为4个空格
set shiftwidth=4   "缩进为4个空格
set backspace=indent,eol,start   "回退键 
 "indent: 如果用了:set indent,:set ai 等自动缩进,想用退格键将字段-
set incsearch  "在输入时逐个字符搜索
set hlsearch
set ignorecase   "忽略大小写 
"set mouse=a
set foldlevel=0
syntax on   "高亮显示 
set autoread
set showmatch
set cursorline
set cursorcolumn
set report=0
set ruler
syntax enable
set fdm=indent


set nocompatible "not compatible with vi
filetype off "required
set rtp+=~/.vim/bundle/vundle/

call vundle#begin()

"let vundle manage vundle
plugin 'vundlevim/vundle.vim'
plugin 'gmarik/vundle'
plugin 'valloric/youcompleteme'
plugin 'l9'

call vundle#end()
set filetype=python

  

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网