Closed debugloop closed 2 months ago
I also encountered macro replay issues with char mode on.
-- aaa 1 bbb 2 ccc 3
-- aaa 1 bbb 2 ccc 3
-- aaa 1 bbb 2 ccc 3
-- aaa 1 bbb 2 ccc 3
-- aaa 1 bbb 2 ccc 3
I recorded a macro to modify all number to #
.
Press qq
for starting, then press 0
, then f1r#
then f2r#
then f3r#
, then <esc>
.
Use @q
for replaying, got totally wrong result belowing.
-- aaa # bbb # ccc #
-- aaa # bbb 2 ccc 3
-- aaa # bbb 2 ccc 3
-- aaa # bbb 2 ccc 3
-- aaa 1 bbb 2 ccc 3
It should be
-- aaa # bbb # ccc #
-- aaa # bbb # ccc #
-- aaa 1 bbb 2 ccc 3
-- aaa 1 bbb 2 ccc 3
-- aaa 1 bbb 2 ccc 3
Disable multiline mode
not working.
Disabling char mode
is working.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.9.5
Operating system/version
NixOS unstable @ ae5c332cbb5827f6b1f02572496b141021de335f
Describe the bug
As the title says, macros don't work quite as expected if
multi_line
is set to false. Seerepro.lua
and the provided steps.Steps To Reproduce
nvim -u repro.lua repro.lua
76Gzz
(goto example section)qafadwj0q
(record macro to deleteadd
, reset position on next line)QQQQ
(observe how it fails from the second repetition)multi_line
to true or remove it from the config, observe how it works then.Expected Behavior
Macros should work the same as stock vim and especially independent from seemingly unrelated config.
Repro