Vim Macros
[tags]vim, macros[/tags]
I learned how to use Vim macros yesterday well some of them anyways. Here is what is to be done:
- In the ESC mode press q then a letter to assign the macro to a variable.
- It should say recording at the bottom and you can do whatever you want.
- Get into ESC mode and press q to stop recording the macro.
Now to use that macro do the following:
- Press Shift-2.
- Press the letter that you assigned the macro to.
That is the basics of it.