-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
69 lines (62 loc) · 1.57 KB
/
vimrc
File metadata and controls
69 lines (62 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
set nocompatible
filetype plugin indent on
syntax on
set autoindent
set encoding=utf-8
set nowrap
set textwidth=100
set smartindent
set tabstop=4
set expandtab
set ai!
set cindent shiftwidth=4
set number
set ruler
set ambiwidth=double
set hlsearch
set ignorecase
set history=100
set laststatus=2
set nobackup
set bsdir=buffer
set autochdir
set cursorcolumn
set background=dark
colorscheme molokai
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"
" " let Vundle manage Vundle, required
Plugin 'modo3d/auto-pairs'
Plugin 'majutsushi/tagbar.git'
Plugin 'scrooloose/nerdtree'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-syntastic/syntastic'
Plugin 'ervandew/supertab'
" " All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
"syntastic 配置
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
"airline
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline_theme='molokai'
"tagbar
let g:tagbar_ctags_bin='/usr/local/Cellar/ctags/5.8_1/bin/ctags'
let g:tagbar_width=30
set tags=tags;
"auto-pairs
let g:AutoPairsShortcutFastWrap='<C-j>'