0

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

1 Answers1

2

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.

jdhao
  • 18,183
  • 11
  • 116
  • 203
  • at the end I had to use (if I remember correctly), this: https://stackoverflow.com/a/3026047/13182570, but I see some errors in that file, next time I'll check there first. Do you know if there's some difference between the logs I saw in both cases (your answer and the one I found) – user13182570 Dec 21 '21 at 15:55
  • I think log in `$HOME/.cache/nvim/log` only logs serious issues. Log in that answer will print a lot of unnecessary messages if you have a high verbose level. – jdhao Dec 22 '21 at 05:17