Nvim tips and trick
auto increment list
transform:
into:
- enter visual mode
- select the number 1, except the first
- press g then C-a
recording
You can record action and play them again
- Start recording: press
q followed by a register letter, for exemple a
- Record your action (take into consideration the movement)
- Stop recording: press
q
- Replay: press
@ followed by the register letter @a
- To replay several time:
4@a
open file at a given line