Hi, i have the following map on my .vimrc (latest vim on linux):

:map <F5> :mks! ~/.vim/sessions/defaultsession.vim <CR>
:map <F6> :enew<BAR>only!<BAR>source ~/.vim/sessions/
defaultsession.vim <CR>

if i have multiple tabs with files from different directories, after
hittinh F5 and restart vim/gvim ,  when i hit F6 all the tabs are
presente but not every file are opened. it seams that only the tabs
with files from the same dir are opened. so if i do:

gvim -p ~/file1.cpp ~/file2.cpp ~/otherdir/file3.cpp ~/otherdir/
otherdir/file4.cpp  (... and so on)

then press F5 to save the session and on the next day press F6 to
restore it only the first 2 tabs have a buffer opened on it. the
others are empty (but present with the correct title).

Anybody as an actual working way to save session of multiple files
from multile directories?

thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to