mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
docs: add section on custom commands
This commit is contained in:
parent
77a5dfacd6
commit
67d59bfc2c
11
README.md
11
README.md
@ -172,6 +172,17 @@ represents ASCII character `,`.
|
|||||||
| `ctrl-t` | Insert | Linux/macOS/Win | Turn word under cursor to title case |
|
| `ctrl-t` | Insert | Linux/macOS/Win | Turn word under cursor to title case |
|
||||||
| `jk` | Insert | Linux/macOS/Win | Return to Normal mode without lagging |
|
| `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
|
# Trouble shooting
|
||||||
|
|
||||||
If you come across an issue, you can first use `:checkhealth` command provided
|
If you come across an issue, you can first use `:checkhealth` command provided
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user