Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Vim recording and how can it be disabled?

Tags:

vim

I keep seeing the recording message at the bottom of my gVim 7.2 window.

What is it and how do I turn it off?

like image 522
vehomzzz Avatar asked Oct 06 '09 20:10

vehomzzz


People also ask

How do I quit Vim without saving?

Quit Vim / Vi without Saving the File To exit the editor, without saving the changes, switch to normal mode by pressing Esc , type :q! and hit Enter . Type :q!

How do I record a macro in Vim?

To record a macro and save it to a register, type the key q followed by a letter from a to z that represents the register to save the macro, followed by all commands you want to record, and then type the key q again to stop the recording.

How do I save a file in Vim?

Press Esc key and type :w to save a file in vim. One can press Esc and type :wq to save changes to a file and exit from vim.


1 Answers

You start recording by q<letter> and you can end it by typing q again.

Recording is a really useful feature of Vim.

It records everything you type. You can then replay it simply by typing @<letter>. Record search, movement, replacement...

One of the best feature of Vim IMHO.

like image 161
yogsototh Avatar answered Oct 19 '22 04:10

yogsototh