aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-12-31 12:30:23 +0800
committerjdhao <jdhao@hotmail.com>2021-12-31 12:30:23 +0800
commit67d59bfc2cdc52d1e0588953b1c123f2123d53ff (patch)
tree15deddfc9d89451b9bb1c059b949b48ad35373ec
parent77a5dfacd6f44768c11a61f829f626e0a63b6d71 (diff)
docs: add section on custom commands
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 143de19..873a5d7 100644
--- a/README.md
+++ b/README.md
@@ -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