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.
tylerlaprade commented
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](https://private-user-images.githubusercontent.com/5475199/382325767-4b4fe86e-c699-4c07-ae02-695cd005d617.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MTAwNjYsIm5iZiI6MTczOTgwOTc2NiwicGF0aCI6Ii81NDc1MTk5LzM4MjMyNTc2Ny00YjRmZTg2ZS1jNjk5LTRjMDctYWUwMi02OTVjZDAwNWQ2MTcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTdUMTYyOTI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDEzNTZjZTc1ZjFiZTIzOTAzZjIzNGE0NWQxNTQzOTZiNzY0NzY0NGI0NGZmNGE0N2MwYjVjNTJlNmUwMGQyYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.-ApjWt_M8T-1D1Xt7zki13XNSd91z9yVCv5WLh8cTTs)
I've tried this with both selectionBehavior: character
and the default behavior.