0

Something really odd is happening randomly when I save changes to a file in Neovim. Often if I press esc:wEnter quickly, hundreds of lines are deleted from the end of the file. So far I have only seen this happen when editing Markdown files. I have also never seen this happen if I type that key sequence slowly. Any ideas what could be causing this?

1
  • Strange. Have you tried going through your history after it happened? Might be a creative typo in :w that causes this. Did you create a :W by any chance?
    – Friedrich
    Apr 23 at 14:50

0

Your Answer

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

Browse other questions tagged or ask your own question.