The repeat command . is awesome. Is it possible to cycle through the last few commands, instead of only being able to repeat the last command? Something like yankring for repeat?

  • If you find yourself repeating a set of commands, record a macro and use it.
    – D. Ben Knoble
    Dec 21, 2017 at 15:37

1 Answer 1


From what I understand Vim doesn’t have a way of repeating normal mode history use a while back, unless you write it out to a file:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.