-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
50 lines (43 loc) · 1019 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
45
46
47
48
49
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-syntastic/syntastic'
Plugin 'mhinz/vim-signify'
Plugin 'powerline/powerline'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'sjl/gundo.vim'
Plugin 'tpope/vim-fugitive'
call vundle#end()
filetype plugin indent on
" Personal settings
syntax on
set showmatch
set ignorecase
set tabstop=4
set expandtab
set shiftwidth=4
set softtabstop=4
set ttimeoutlen=50
" \Personal settings
" Jump to last position
augroup resCur
autocmd!
autocmd BufReadPost * call setpos(".", getpos("'\""))
augroup END
" \Jump to last position
" Airline
set laststatus=2
let g:airline_powerline_fonts = 1
" \Airline
" 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
" \Syntastic