has at least one :help open. When I
:source project_1.vim the help buffers are not there. They don't
even show up in :buffers! (or :ls!)
If I do vim ~/.vim/sessions/project_1.vim and THEN I do
:source % it works just fine.
Doing vim -S my_session_file.vim doesn't work either.
Silex, on #vim pointed me to this code in my 'project_1.vim' file:
if exists('s:wipebuf')
silent exe 'bwipe ' . s:wipebuf
endif
unlet! s:wipebuf
:mksession is somehow adding those lines in my session.vim files.
If I comment or delete those lines, then I am able to :source my
session files, and the :help files show up fine.
echo &sessionoptions shows:
blank,buffers,curdir,folds,help,options,tabpages,winsize
Any help would be appreciated. Thanks in advance.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment