-
Notifications
You must be signed in to change notification settings - Fork 5
PracticalVim Tip34
Shuai YUAN edited this page May 29, 2015
·
1 revision
- Recalling commands:
- Change command history limit (By default, it is 20):
- The history persists when we quit and relaunch vim.
- Alternative of `` and `Down`: `` and ``.
- Solution: add the following mappings
- `q:`: enter the command-line window
- When we press `` (``) in the command-line window, the command is executed in the context of the active window.
| Command | Action | | `q/` | Open the command-line window with history of searches | | `q:` | Open the command-line window with history of Ex commands | | `` | Switch from Command-Line mode to the command-line window |