I get this error

E824: Incompatible undo file: /root/.cache/nvim/undo/%root%.config%nvim%init.vim Press ENTER or type command to continue

when trying to open init.vim.

When then pressing ENTER it seems to work ok.

How do I get rid of the error message?

  • 1
    At some point neovim changed the undo-file format. And that makes older undo files incompatible. That's exactly what you see here. Commented Mar 19, 2023 at 14:04

1 Answer 1


I don't know what was the origin of the problem, but clearing the /undo folder solved the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.