helix icon indicating copy to clipboard operation
helix copied to clipboard

Undo macros all at once.

Open sotnii opened this issue 3 years ago • 2 comments

When using macros multiplle times (e.g. 20q with a macro recorded to @ register) and then pressing u to undo, it reverts only last command of the last macro (not even the whole last macro). I think it should be done like it is in nvim: u keys jumps back to state when all macros are not applyied yet.

sotnii avatar Oct 24 '22 16:10 sotnii

Yes, I would think this should be a unique transaction recorded and then reverted.

ksandvik avatar Oct 24 '22 17:10 ksandvik

I think I have a stash in my local copy of the git repo implementing this from when I first made #1234, but I never actually pushed it or anything.

Omnikar avatar Oct 26 '22 10:10 Omnikar

@Omnikar If you want to push what you have here I'd be willing to get it up to date and shepard it along.

askreet avatar Mar 19 '23 10:03 askreet