vim-angry icon indicating copy to clipboard operation
vim-angry copied to clipboard

Arg delete + undo mangles state of a macro

Open staticshock opened this issue 12 years ago • 2 comments

Sample file (one line, cursor position on the closing paren):

fn(delete_this_word,)

macro that works: X%wdw macro that fails: X%wdaaudw

Both macros have identical results when executed manually, but the latter one fails when executed as a macro. The only difference between the macros is the daau, which performs the arg deletion and then undoes it.

staticshock avatar Dec 01 '12 02:12 staticshock

I can confirm this issue. I'll have to investigate further on how this can be fixed.

b4winckler avatar Dec 01 '12 21:12 b4winckler

I found a recent bug report on vim_dev that may be related to this issue. Apart from this I sat down today and had a look at this issue but so far I have made no headway.

b4winckler avatar Dec 02 '12 17:12 b4winckler