News for hackers. Stuff that matters.
Re:Intermediate Vim by snarfy on Wednesday May 01, 2019 @08:20AM (#19796393)
I use the . (dot) command a lot out of habit. It executes the last command. If the last command was a macro execution, dot doesn't execute the macro - it executes the last command of the macro. Is there a way to fix this?

edit I see someone else answered this - use @@ instead of .

Re:Intermediate Vim by agscala on Wednesday May 01, 2019 @08:22AM (#19796406)
@@ repeats the last macro
Re:Intermediate Vim by wildmusings on Wednesday May 01, 2019 @08:58AM (#19796603)
Yep, and you can just hold down @ to blaze through many lines. If you overshoot, just undo a bit.