Skip to content

Unable to clean a corrupt session #368

Answered by cameronr
rajneesh2k10 asked this question in Q&A
Discussion options

You must be logged in to vote

By default, sessions are stored in ~/.local/share/nvim/sessions (note the trailing s) 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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rajneesh2k10
Comment options

Answer selected by rajneesh2k10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants