-
Notifications
You must be signed in to change notification settings - Fork 10
/
.vimrc
21 lines (21 loc) · 774 Bytes
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
" Nuke autocommands in case we're sourced >1 time
autocmd!
" Stuff that needs to come before plugins for w/e reason
source ~/.vim/rc/before-plugins
" vim-plug plugins list & plugin settings
source ~/.vim/rc/plugins
" Basic settings/behavior toggles/etc
source ~/.vim/rc/settings
" MacVim specific settings (conditionally loaded internally)
source ~/.vim/rc/macvim
" GVim specific settings (conditionally loaded internally)
source ~/.vim/rc/gvim
" Filetype-specific tweaks (and path-specific filetype-setting)
source ~/.vim/rc/filetypes
" Global key mappings, functions, leader shortcuts, etc
source ~/.vim/rc/mappings
" (semi-)sensitive / PII-exposing vimrc commands.
" NOTE: Not version-controlled.
if filereadable(expand("~/.vimrc.local"))
source ~/.vimrc.local
endif