You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In cases where vim crashes and a newer swapfile exists, a readonly version of the file opens. I understand this is by design. What if I want to see the swapfile, or override the readonly version with the new one? Ideally whenever this happens I'd like 2 panes to open, one with the swapfile and one with the old version, and be able to do a side-by-side comparison and pick between them. What's the best way to achieve this?
The text was updated successfully, but these errors were encountered:
Seems like the appropriate thing would be to call :recover. Almost everything I edit these days is under Git so I can sort of cheat and just write the recovery out, exit and use git diff to see if I really want it or not. Vim probably can do some of this on its own, but I use what I know. 🤷♂️
In cases where vim crashes and a newer swapfile exists, a readonly version of the file opens. I understand this is by design. What if I want to see the swapfile, or override the readonly version with the new one? Ideally whenever this happens I'd like 2 panes to open, one with the swapfile and one with the old version, and be able to do a side-by-side comparison and pick between them. What's the best way to achieve this?
The text was updated successfully, but these errors were encountered: