Closed Peeja closed 10 years ago
This has been irking me a bit too. Manipulating a session file looks hard, but it just occured to me we could manipulate the session beforehand instead. I've added this to my vimrc:
autocmd VimLeavePre * cclose | lclose
Try it too, let me know what issues you have. I could maybe add it to obsession.vim proper.
That helps, but it only hits the current tab. I guess we could :tabdo
? It's gonna get messy, though.
Maybe this is ultimately a Vim bug.
Yeah, a Vim limitation for sure. I'm adding tabdo
to my autocommand to see what happens. I don't expect to solve it but maybe we can find an acceptable level of mitigation.
Duh.
Huzzah! :beers:
Much like #5 (NERDTree windows), the Quickfix window becomes a blank when the session is restored. That is, not just the empty quickfix list, but an ordinary empty buffer.
Not a huge issue, but it would be nice to restore it as a quickfix window. For instance, I have
<Leader>q
mapped to:cclose
, and it would be nice if that still worked after loading my session.