Exclude filetypes/specific windows #117
-
Hey, thanks for this great plugin! One issue that I have is that when I have a neo-tree window open when I close neovim, it will take up half of the screen (and be blank) when it's reopened, and I cannot close and reopen the window since it complains that the window has already been opened. In general, I pretty much never want to save specific window types (plugin windows, quickfix list, etc.) to the session, only actually opened files. Is excluding file types in scope for this plugin? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The only way of achieving this right now is by using events and removing/closing the items before the session is saved ( |
Beta Was this translation helpful? Give feedback.
The only way of achieving this right now is by using events and removing/closing the items before the session is saved (
PersistedSavePre
). You could run a command to check if NeoTree is open and execute a corresponding command.