-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
44 lines (34 loc) · 811 Bytes
/
vimrc
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
execute pathogen#infect()
" basic settings
syntax on
filetype plugin indent on
set encoding=utf-8
colorscheme molokai
set number
set cursorline
set incsearch
" for c
autocmd Filetype c setlocal ts=2 sts=2 sw=2
inoremap jj <ESC>
let mapleader="\<Space>"
" airline
set laststatus=2
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
" ***
" files and buffers
" ***
set hidden
map <silent> <C-n> :NERDTreeToggle<CR>
" ctrlp
nmap <leader>p :CtrlPBuffer<cr>
nmap <leader>bm :CtrlPMixed<cr>
nmap <leader>bs :CtrlPMRU<cr>
" 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