add Windows support

Windows _should_ be supported now, but I don't really have access to a
Win box, so..

Feedback is much appreciated!
This commit is contained in:
Marco Hinz 2013-04-25 13:04:04 +02:00
parent 6273d48db8
commit b7a2e0aac0
2 changed files with 4 additions and 3 deletions

View file

@ -9,7 +9,8 @@ endif
let g:loaded_startify = 1
" Init {{{1
let g:startify_session_dir = resolve(expand(get(g:, 'startify_session_dir', '~/.vim/session')))
let g:startify_session_dir = resolve(expand(get(g:, 'startify_session_dir',
\ has('win32') ? '$HOME\vimfiles\session' : '~/.vim/session')))
augroup startify
autocmd!