Open chiphogg opened 1 year ago
I've found a workaround in the meantime. Whenever this happens, the contents of the macro include surprising control characters. For example, printing the above macro with "qp
gives: <9b><fc>^DA
, where each of <9b>
, <fc>
, and ^D
are a single character. I can delete these, and by typing <Ctrl-V><Ctrl-A>
, I can get the single control character ^A
. Then, using "qy$
, I can put the corrected macro sequence in register q
, and then the macro works as expected.
I hope this observation provides some clue as to what's going on. In any case, though, it gives me a workaround (however tedious) in the meantime.
This is the version included in Ubuntu's "Jammy Jellyfish" release (22.04, LTS):
Here is a minimal reproduction. First, the
.vimrc
:(Naturally, this is for users who have set up vim-plug already. I assume this happens no matter how the plugin was installed!)
To reproduce with this
.vimrc
, follow these steps in a new vim session (blank file):1
.qq<C-A>q
@q
With this plugin involved, nothing happens. Without it --- e.g.,
vim -u NONE
--- the number increments every time you@q
.Decrementing with
<C-X>
has the same behaviour.I do not see this behaviour in 18.04's version: