aboutsummaryrefslogtreecommitdiff
path: root/init.vim
blob: 85a2a2adc24f970e7ee2423aaaf4148b421e0ec8 (plain) (blame)
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

" Omni completion
filetype plugin on
set omnifunc=syntaxcomplete#Complete

" Stolen from the help page:
" 
" One typical way to use the netrw tree display is to: >
" 
" 	vim .
" 	(use i until a tree display shows)
" 	navigate to a file
" 	v  (edit as desired in vertically split window)
" 	ctrl-w h  (to return to the netrw listing)
" 	P (edit newly selected file in the previous window)
" 	ctrl-w h  (to return to the netrw listing)
" 	P (edit newly selected file in the previous window)
let g:netrw_liststyle=3

" Useful on some terminals, not always supported in old tmux versions
" set termguicolors
" let g:airline_theme="monochrome"
let g:airline_theme="distinguished"

" colorscheme 256_noir
colorscheme distinguished

set guifont=ProFont\ 11

" if has("gui_running")
" 	colorscheme gruvbox
" 	set background=light
" endif


" let g:hardtime_default_on = 1


" For syntastic it's worth running 
" SyntasticInfo : to see what's available for the given open file
" SyntasticCheck yamllint : if you want to say manually run the `yamllint`
" checker

let g:syntastic_yaml_checkers = ['yamllint']

" This lets :lopen / :lwindow always be populated work
let g:syntastic_always_populate_loc_list = 1


" some info on the Tabular plugin:
" http://vimcasts.org/episodes/aligning-text-with-tabular-vim/


" Commenting in and out blocks can be done with `gc`
" https://github.com/tpope/vim-commentary