+ Detect OS and source the config

This commit is contained in:
ziro 2020-07-12 18:14:10 +07:00
parent 5f4b2402aa
commit 09e9abab2c

View file

@ -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