Re: restore buffer numbers after 'vim -S', a workaround?
> AFAIK buffer numbers are not meant to persist between sessions, evenYou're right.
> efter ":mksession" ":quit" "vim -S" — if you've used :bwipeout there
> are "holes" in the list of buffer numbers; after reload those holes
> are not preserved.
> What is supposed to be preserved are buffer names (and full paths
> for buffers whose 'buftype' is not "nofile") and windows.
> Best regards,
Using buffer numbers (B#s) is a very convenient way to work on many files. It's so good to know where you left stuff, without having to search for it first.
Having to re-learn the B#s after a session restore is a pain.
Is there a chance one could reorganize B#s at all within a live session (e.g. within the Session.vim script)? Or are the B#s so fundamental that allowing them to change would involve big code changes?
You received this message from the "vim_dev" 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