aboutsummaryrefslogtreecommitdiff
path: root/init.vim
blob: 8124b581251e0471f130b1b9a8b4b886f3abcd72 (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
execute pathogen#infect('bundle/{}', 'themes/{}')

source ~/.vim/inc/basics.vim
source ~/.vim/inc/rebinds.vim
source ~/.vim/inc/undo.vim
source ~/.vim/inc/filetype-options.vim
source ~/.vim/inc/airline.vim
source ~/.vim/inc/ctrlp.vim
source ~/.vim/inc/gundo.vim

" 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"

" set background=light
" set background=dark

colorscheme distinguished
" colorscheme solarized
" colorscheme dracula
" colorscheme orbital


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