calebmeyer / vim-mode-plus-macros

Adds macros for vim mode plus
12 stars 2 forks source link

undo doesnt cancel the whole macro, just the last action #6

Open CyberMango opened 6 years ago

CyberMango commented 6 years ago

steps to reproduce: create a macro that does more than one action, lets say: d w d d (delete word, then delete line) apply macro press u (undo) expected behavior (vim-like): the whole macro is undone, meaning neither the line nor the word are gone after a single undo. actual behavior: only the last action of the macro is undone, meaning only the line deletion is undone.