Tag Archives: Unix

What is vim recording?

vim with recording turned on

Recording is a really useful feature of Vim. 

You start recording by pressing “Q” key followed by any other letter keystroke, and you can end it by typing “Q” again. 

It records everything you type. You can then replay it simply by typing “@“ followed by the letter. 

Record search, movement, replacement…

This is one of the best features of Vim.

One more thing to note is that you can hit any number before the “@“ to replay the recording that many times like (100@<letter>) will play your recorded actions 100 times.