71/dance

Replaying issues

Opened this issue · 1 comments

71 commented

This issue should be used for tracking bugs related to replaying actions, i.e. macros and repeating the last actions.

I have an array of model names and want to do a simple transformation to append "Model" at the end of each. When I record a macro, it correctly repeats the text I typed in insert mode, but not at the point in the text I expected, and it jumps much farther down than expected based on my normal mode movements.

Before (cursor starts on the second o of Foo

[
    Foo,
    Bar,
    Baz,
    Qux,
]

Macro

waModel<esc>bj

After replaying the macro once

image

I've tried this with both selectionBehavior: character and the default behavior.