Vim: Undo does not work after save

  • Click thumbs-up πŸ‘ on this issue if you want it!
  • Click confused πŸ˜• on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Environment:

  • VSCode Version: Insiders
  • VsCodeVim Version: 0.8.4
  • OS: macOS 10.12.6

What happened: After saving a file with :w I cannot undo anymore.

What did you expect to happen: Continue undoing the horrors I inflicted on the file.

How to reproduce it: Make some changes to a file, save it and try to undo those changes.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 13
  • Comments: 23 (7 by maintainers)

Most upvoted comments

@Chillee This happens under all load conditions.

VSCodeVim undo is totally unusable for me right now (default ctrl+z works just fine). Whenever a file is saved there is no undo history. It’s not just when filename is changed, any save at all seems to erase undo history. I am using auto save after 1 second delay, so I have 1 second of undo history πŸ˜„. Turning auto save off is more usable at the moment, but doesn’t fix the problem. EDIT: Same behavior on my laptop and desktop

  • VSCodeVim version 0.8.4
  • VSCode Version 1.13.0-insider
  • Windows 10