vimrc

1 set number
2 set cindent “设置C样式的缩进格式”
3 set tabstop=4 “设置table长度”
4 set shiftwidth=4 “同上”
5 set showmatch “显示匹配的括号”
6 set fenc=utf-8 “文件编码”
7 syntax on
8 set t_Co=256
9 let g:solarized_termcolors=256
10 set background=dark
11 colorscheme solarized
12 set cursorline “突出显示当前行”
13
14
15 filetype off
16 set rtp+=~/.vim/bundle/Vundle.vim
17 call vundle#begin()
18 Plugin ‘VundleVim/Vundle.vim’
19 Plugin ‘Lokaltog/vim-powerline’
20 call vundle#end()
21 filetype plugin indent on
22
23 set guifont=PowerlineSymbols\ for\ Powerline
24 set nocompatible
25 set laststatus=2
26 let g:Powerline_symbols = ‘fancy’
27 let Powerline_symbols=’compatible’

暂无评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注