-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
64 lines (50 loc) · 1.13 KB
/
.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
runtime macros/matchit.vim
execute pathogen#infect()
syntax on
filetype plugin indent on
let g:airline_theme='luna'
" Search
set nohlsearch
set incsearch
set ignorecase
set smartcase
" Tab
set expandtab
set smarttab
set shiftwidth=2
set tabstop=2
" Vim git gutter
let g:gitgutter_realtime = 1
let g:gitgutter_eager = 1
set updatetime=250
if exists('&signcolumn') " Vim 7.4.2201
set signcolumn=yes
else
let g:gitgutter_sign_column_always = 1
endif
set relativenumber
set autoread
syntax on
set backspace=indent,eol,start " allow backspacing over everything in insert mode
" Make it obvious where 80 characters is
set textwidth=80
set colorcolumn=+1
" Numbers
set number
set numberwidth=5
" Open new split panes to right and bottom, which feels more natural
set splitbelow
set splitright
set background=dark
set termguicolors
colorscheme material-monokai
set textwidth=80
set formatoptions+=t
" 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