-
Notifications
You must be signed in to change notification settings - Fork 5
PracticalVim Tip31
Shuai YUAN edited this page May 29, 2015
·
1 revision
- `.`: repeat the most recent Normal mode command
- `@:`: repeat the last Ex command
- `:` register always holds the most recently executed command line.
- After running `@:` for the first time, we can subsequently repeat it with the `@@` command.
Example: iterating through items in the buffer list with `:bn[ext]` or `:bp[revious]`.
- use `@:` for repeating
- use `` for revering (also works for `:next`/`:cnext`/`:tnext`)