Search code examples
ubuntuneovim

nvim unexpected exit, looking for logs


Sometimes, when I am deleting some lines, such as 20dd or ddG, vim closes unexpectedly.

I don't know why and I can't add more info because I don't know where to look at. Is there any kind of log?

Regards


Solution

  • You can find the log generated by nvim on $HOME/.cache/nvim/log. Each line shows the log level and error message. Check if there are any errors when nvim exited.