3 ms·
a workflow i'm pretty hooked on is: using vim w/ git-gutters plugin, which shows the state of a line (+-~), and so you can stage and unstage these hunks with m
by grimgrin 6y ago
a workflow i'm pretty hooked on is:
using vim w/ git-gutters plugin, which shows the state of a line (+-~), and so you can stage and unstage these hunks with mappings.
so maybe you unstage a whole hunk to see what its original state was, but then just do an undo to return it. this is technically many undos in one
there's some more conveniences here, but this is one that stands out regarding "many undos ago"