diff options
| author | jdhao <jdhao@hotmail.com> | 2021-12-31 12:30:23 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-12-31 12:30:23 +0800 |
| commit | 67d59bfc2cdc52d1e0588953b1c123f2123d53ff (patch) | |
| tree | 15deddfc9d89451b9bb1c059b949b48ad35373ec | |
| parent | 77a5dfacd6f44768c11a61f829f626e0a63b6d71 (diff) | |
docs: add section on custom commands
| -rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -172,6 +172,17 @@ represents ASCII character `,`. | `ctrl-t` | Insert | Linux/macOS/Win | Turn word under cursor to title case | | `jk` | Insert | Linux/macOS/Win | Return to Normal mode without lagging | +# Custom commands + +In addition to commands provided by various plugins, I have also created +several custom commands for personal use. + +| command | description | example | +|------------|-------------------------------------------------------------------------|--------------------------------| +| `Redir` | capture command output to a tabpage for easier inspection. | `Redir hi` | +| `Edit` | edit multiple files at the same time, supports globing | `Edit *.vim` | +| `Datetime` | print current date and time or convert Unix time stamp to date and time | `Datetime 12345` or `Datetime` | + # Trouble shooting If you come across an issue, you can first use `:checkhealth` command provided |
