-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathvimrc
More file actions
executable file
·27 lines (25 loc) · 776 Bytes
/
vimrc
File metadata and controls
executable file
·27 lines (25 loc) · 776 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
25
26
27
" Identify platform
silent function! OSX()
return has('macunix')
endfunction
silent function! LINUX()
return has('unix') && !has('macunix') && !has('win32unix')
endfunction
silent function! WINDOWS()
return (has('win16') || has('win32') || has('win64'))
endfunction
silent function! GUI()
return (has('gui_running'))
endfunction
" Multiplatform compatibility
if WINDOWS()
" On Windows, also use '.vim' instead of 'vimfiles'; this makes synchronization
" across (heterogeneous) systems easier.
set rtp=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/.vim/after
endif
source $HOME/.vim/bundles.vim
source $HOME/.vim/settings.vim
source $HOME/.vim/map.vim
source $HOME/.vim/plugins.vim
source $HOME/.vim/functions.vim
source $HOME/.vim/autocmd.vim