Fix typos in text (#27788)
Change "identify" to "identified", "register" to "registered", "record" to "recording" and "look" to "looks".
This commit is contained in:
@ -8,7 +8,7 @@ Recording macros is a way to make some repetitive tasks automatically in VIM.
|
|||||||
|
|
||||||
### Recording Macros
|
### Recording Macros
|
||||||
|
|
||||||
Macros use one of the VIM registers to be storage, each register is indentify by a letter `a` to `z`.
|
Macros use one of the VIM registers to be storage, each register is identified by a letter `a` to `z`.
|
||||||
|
|
||||||
To start a Macro, in Normal Mode, press:
|
To start a Macro, in Normal Mode, press:
|
||||||
|
|
||||||
@ -17,15 +17,15 @@ q<REGISTER LETTER>
|
|||||||
```
|
```
|
||||||
Example: `qq` starts a macro in the register `q`, `qs` starts the macro in the register `s`
|
Example: `qq` starts a macro in the register `q`, `qs` starts the macro in the register `s`
|
||||||
|
|
||||||
At this point you will see in VIM bottom line `recording @q`, this means everything you type now will be register in the macro.
|
At this point you will see in VIM bottom line `recording @q`, this means everything you type now will be registered in the macro.
|
||||||
|
|
||||||
To stop record the macro, press `<ESC>` to go back to NORMAL mode, and `q` to quit the macro.
|
To stop recording the macro, press `<ESC>` to go back to NORMAL mode, and `q` to quit the macro.
|
||||||
|
|
||||||
To execute the macro you record, press `@` and the register `q`.
|
To execute the macro you record, press `@` and the register `q`.
|
||||||
|
|
||||||
#### The complete process look like this:
|
#### The complete process looks like this:
|
||||||
- `qq` -> start record the macro in register `q`
|
- `qq` -> start record the macro in register `q`
|
||||||
- `...` -> the serie of commands you want to record
|
- `...` -> the series of commands you want to record
|
||||||
- `<ESC>q` -> go back to NORMAL mode and quit the macro record
|
- `<ESC>q` -> go back to NORMAL mode and quit the macro record
|
||||||
- `@q` -> execute the macro, starting from the line you current are
|
- `@q` -> execute the macro, starting from the line you current are
|
||||||
- `@@` -> execute the macro again
|
- `@@` -> execute the macro again
|
||||||
|
Reference in New Issue
Block a user