My vim environment occasionally becomes corrupted because of plugin/user errors (e.g.
:bdelete in the NERDCommander window), and I'd like to "reload vim".
:mksession allows vim to "save" tabs for reopening, but it also saves the broken environment.
I'm thinking any of these could solve the problem:
:mksessionin a way that discards the current vim environment
- Somehow load an environment from a fresh vim startup
- Automate my manual solution: Export currently open tabs, restart vim, and reopen each tab