This is really nice
But I have a habit to :w every 5 seconds, so I can't really use it
This is really nice
But I have a habit to :w every 5 seconds, so I can't really use it
Oh shit that's pretty nice. Can't say I have a particular use for it myself but I like the idea.
Pure curiosity, what've you been using it for? Anyone else have use-cases?
I just use it all the time when I forget what I changed and want to make sure I’m ok with all changes before saving.
It is very similar to a command in emacs called M-x diff-buffer-with-file.
You know what I usually do in that case ? Press undo until I'm back to no change haha. And each undo jumps you back to each change.
But this looks great and is worth considering, especially with how neat it is. Clever thinking on those buffer local mappings.