Files
test/.vimrc

13 lines
293 B
VimL

let s:vimrc=expand('<sfile>')
let s:host=hostname()
if filereadable(s:vimrc.'.'.s:host)
execute 'source '.s:vimrc.'.'.s:host
elseif filereadable(s:vimrc.'.win64') && has('win64')
source s:vimrc.'.win64'
elseif filereadable(s:vimrc.'.linux') && has('unix')
source s:vimrc.'.linux'
endif