-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
32 lines (26 loc) · 784 Bytes
/
vimrc
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
set nocompatible
filetype on " off required
let mapleader = ','
runtime plugins.vim
runtime general.vim
runtime keys.vim
runtime funcs.vim
" Plugins that are neater in their own file
for f in split(glob('~/.vim/configs/*.vim'), '\n')
exe 'source' f
endfor
""""""""""""""""""""""""""""""""""""""""""""""
" Use local vimrc if available {
if filereadable(expand("~/.vimrc.local"))
source ~/.vimrc.local
endif
"""""""""""""""""""""""""""""""""""""""""""""""
""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Use local gvimrc if available and gui is running {
if has('gui_running')
if filereadable(expand("~/.gvimrc.local"))
source ~/.gvimrc.local
endif
endif
" }
""""""""""""""""""""""""""""""""""""""""""""""""""""""