aboutsummaryrefslogtreecommitdiff
path: root/init.vim
blob: 81e18964a1200c8be979cd60c5ba0ef19b9b88f1 (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
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"

colorscheme 256_noir
" colorscheme distinguished

set guifont=ProFont\ 11

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