+ Detect OS and source the config
This commit is contained in:
parent
5f4b2402aa
commit
09e9abab2c
1 changed files with 9 additions and 6 deletions
|
@ -22,11 +22,14 @@
|
||||||
so ~/.config/vim/universal
|
so ~/.config/vim/universal
|
||||||
" so C:\_config\vim\universal
|
" so C:\_config\vim\universal
|
||||||
|
|
||||||
" *nix (Linux/Mac)
|
" Automatically source config for the correct OS
|
||||||
so ~/.config/vim/nix
|
if has('win64') || has('win32') || has('win16')
|
||||||
|
|
||||||
" Windows
|
" Windows
|
||||||
" so C:\_config\vim\windows
|
" so C:\_config\vim\windows
|
||||||
|
else
|
||||||
|
" *nix (Linux/Mac)
|
||||||
|
so ~/.config/vim/nix
|
||||||
|
endif
|
||||||
|
|
||||||
" - PlugIns
|
" ----- PlugIns
|
||||||
source ~/.config/vim/plugins
|
source ~/.config/vim/plugins
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue