We check if files were given on the command-line already, but argc() is 0 when Vim is used as a $MANPAGER. So, only run Startify if the first buffer is actually empty. Fixes #310
@@ -33,7 +33,7 @@ function! s:update_oldfiles(file)
endfunction
function! s:on_vimenter()
- if !argc()
+ if !argc() && line2byte('$') == -1
if get(g:, 'startify_session_autoload') && filereadable('Session.vim')
source Session.vim
elseif !get(g:, 'startify_disable_at_vimenter')