forked from ryanb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_vimrc
More file actions
38 lines (31 loc) · 855 Bytes
/
dot_vimrc
File metadata and controls
38 lines (31 loc) · 855 Bytes
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
" .vimrc
"
" chunyang's .vimrc
" based on http://github.com/jferris/config_files/blob/master/vimrc
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" Load bundles and bundle options
if filereadable(expand($HOME) . "/.vim/rc/plug.vim")
source $HOME/.vim/rc/plug.vim
endif
" Load settings
if filereadable(expand($HOME) . "/.vim/rc/settings.vim")
source $HOME/.vim/rc/settings.vim
endif
" Load autocommands
if has("autocmd")
if filereadable(expand($HOME) . "/.vim/rc/autocmd.vim")
source $HOME/.vim/rc/autocmd.vim
endif
else
set autoindent
endif
" Load key mappings
if filereadable(expand($HOME) . "/.vim/rc/keymap.vim")
source $HOME/.vim/rc/keymap.vim
endif
" Local config
if filereadable(".vimrc.local")
source .vimrc.local
endif