+ 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 C:\_config\vim\universal
|
||||
|
||||
" *nix (Linux/Mac)
|
||||
so ~/.config/vim/nix
|
||||
" Automatically source config for the correct OS
|
||||
if has('win64') || has('win32') || has('win16')
|
||||
" Windows
|
||||
" so C:\_config\vim\windows
|
||||
else
|
||||
" *nix (Linux/Mac)
|
||||
so ~/.config/vim/nix
|
||||
endif
|
||||
|
||||
" Windows
|
||||
" so C:\_config\vim\windows
|
||||
|
||||
" - PlugIns
|
||||
" ----- PlugIns
|
||||
source ~/.config/vim/plugins
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue