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? |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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
:SessionSave
and 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
:SessionDelete
Lastly, you can open the session picker via
:SessionSearch
and then delete the session by highlighting it and pressing ctrl-d.