-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
24 lines (22 loc) · 728 Bytes
/
vimrc
File metadata and controls
24 lines (22 loc) · 728 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
if &compatible | set nocompatible | endif " Avoid side effects if `nocp` already set
" detect Android to disable incompatible stuff
let g:android = 0
if !has("win32")
let sys = system("uname -a")
if (" arm" == matchstr(sys, " arm")) || (" aarch64" == matchstr(sys, " aarch64"))
let g:android = 1
endif
endif
let $VIMHOME=expand('<sfile>:p:h')
source $VIMHOME/config/general.vimrc
source $VIMHOME/config/minpac.vimrc
source $VIMHOME/config/plugin_settings.vimrc
if g:android != 1
source $VIMHOME/config/commands.vimrc
source $VIMHOME/config/keys.vimrc
endif
source $VIMHOME/config/spelling.vimrc
if has('vim_starting')
source $VIMHOME/config/airline.vimrc
endif
source $VIMHOME/config/diffexpr.vimrc