From 67d59bfc2cdc52d1e0588953b1c123f2123d53ff Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 31 Dec 2021 12:30:23 +0800 Subject: [PATCH] docs: add section on custom commands --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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