forked from raw1z/vimfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
38 lines (29 loc) · 768 Bytes
/
vimrc
File metadata and controls
38 lines (29 loc) · 768 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
if &compatible
set nocompatible
endif
function! s:source_rc(rc_file) abort "{{{
let abspath = resolve(expand('~/.vim/rc/' . a:rc_file . '.rc.vim'))
execute 'source' fnameescape(abspath)
endfunction "}}}
if has('vim_starting')
call s:source_rc('init')
endif
call s:source_rc("dein")
if !has('vim_starting')
call dein#call_hook('source')
call dein#call_hook('post_source')
syntax enable
filetype plugin indent on
endif
if has("nvim")
call s:source_rc("neovim")
endif
call s:source_rc("global_functions")
call s:source_rc("base" )
call s:source_rc("commands" )
" load the customizations {{{
let $VIM_CUSTOM_DIR=$HOME
if filereadable(expand($VIM_CUSTOM_DIR."/.vimrc.custom"))
source $VIM_CUSTOM_DIR/.vimrc.custom
endif
" }}}