vim编辑器插件配置
1 在家目录下 vim ~/.vimrc
写入配置:
1 "========================== vbundle ====================================
2
3 set nocompatible " required
4 filetype off " required
5
6 " set the runtime path to include Vundle and initialize
7 set rtp+=~/.vim/bundle/Vundle.vim
8 call vundle#begin()
9
10 " alternatively, pass a path where Vundle should install plugins
11 "call vundle#begin('~/some/path/here')
12
13 " let Vundle manage Vundle, required
14 Plugin 'gmarik/Vundle.vim'
15 Plugin 'vim-scripts/indentpython.vim'
16
17 " Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin)
18
19
20 " All of your Plugins must be added before the following line
21 call vundle#end() " required
22 filetype plugin indent on " required
23
24 "====================== 颜色 ==========================================
25
26 syntax enable
27 set background=dark
28 colorscheme solarized
2 在家目录下 创建.vim
文件夹
在.vim中新建
bundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
在.vim中新建
colors