💻 Software
why do my vim macros stop working sometimes?
Fresh5 days ago
Mar 15, 20261860 viewsConfidence Score0%
0%
Problem
This happens to me sometimes, and I haven't been able to figure out why. Lets say I start recording in vim (press q) then I finish and use the macros a few times. Then I do something else, like continue editing the file. Then I want to use the macros again, but this time something else happens, for…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: why do my vim macros stop working sometimes?
Low Risk
Numbered registers are used internally by Vim for commands like or . You shouldn't use them to record your macros as they are overwritten at each yank or delete. Use registers to , which Vim doesn't touch, instead.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix