vim 基础配置

最近在使用 python 搞服务, 简单配置了一个 vim, 配置了自动补全以及背景色 。(ps:搜狗输入法快捷键占用真是太坑爹,改用谷歌输入法,世界安静了)

具体配置如下:

  1 set nocompatible              " be iMproved, required
  2 filetype off                  " required
  3 
  4 " set the runtime path to include Vundle and initialize
  5 set rtp+=~/.vim/bundle/Vundle.vim
  6 call vundle#begin()
  7 " alternatively, pass a path where Vundle should install plugins
  8 
  9 " let Vundle manage Vundle, required
 10 Plugin 'VundleVim/Vundle.vim'
 11 
 12 " python auto-complete
 13 Plugin 'davidhalter/jedi-vim'
 14 
 15 " background
 16 Plugin 'altercation/vim-colors-solarized'
 17 
 18 
 19 " All of your Plugins must be added before the following line
 20 call vundle#end()            " required
 21 filetype plugin indent on    " required
 22 
 23 let g:jedi#popup_on_dot = 0
 24 
 25 syntax enable
 26 set background=dark
 27 colorscheme solarized
 28 let g:solarized_termcolors=256
 29 
 30 set number
~                       

猜你喜欢

转载自www.cnblogs.com/yaolin1228/p/9338150.html
今日推荐