Unable to clean a corrupt session #368
|
I ended up with a corrupted session in auto-session after some weird order of closing nvim buffer, neo-tree, and outline. Now, now matter what I do, when I start neovim in that directory I always get the following error (I've redacted some parts) - Note that auto-session is working fine in other directories. Here is what I have tried -
I still get the same error. I am unsure if the auto-session is saving the sessions at the location Any clues how can I debug it further or wipe all sessions and start fresh? |
Replies: 1 comment 1 reply
|
By default, sessions are stored in You can also save a new session over the existing one via You can also delete the session for the current directory via Lastly, you can open the session picker via |
By default, sessions are stored in
~/.local/share/nvim/sessions(note the trailings) so manually deleting the session file there will make the error go away.You can also save a new session over the existing one via
:SessionSaveand as long as the error isn't in the current session, that will likely resolve it.You can also delete the session for the current directory via
:SessionDeleteLastly, you can open the session picker via
:SessionSearchand then delete the session by highlighting it and pressing ctrl-d.