From dd20d92a2fb7158f939a21eadaeef9ae8cd14532 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 11 May 2020 22:39:11 +0800 Subject: [PATCH] docs: update README --- README.md | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index eef39a5..0858315 100644 --- a/README.md +++ b/README.md @@ -37,20 +37,29 @@ itself and the configuration on different platforms (Linux, MacOS and Windows). In the following shortcuts, `` represents the `,` character. -| Shortcut | Description | -|-------------------|-----------------------------------------------------------------| -| `f` | Open fuzzy file search in a floating window and starting search | -| `` | Remove trailing whitespaces | -| `v` | Reselect last pasted text | -| `ev` | Edit Neovim config in a new tabpage | -| `sv` | Reload Neovim config | -| `q` | Quit current window | -| `Q` | Quit all window and close Neovim | -| `w` | Save current buffer content | -| `s` | Toggle the sidebar (show project tree view) | -| `t` | Toggle tag window (show project tags in the right window) | -| `` | Toggle spell checking | -| `` | Toggle paste mode | +| Shortcut | Mode | Description | +|-------------------|--------|-----------------------------------------------------------| +| `f` | Normal | Fuzzy file search in a floating window | +| `` | Normal | Remove trailing whitespaces | +| `v` | Normal | Reselect last pasted text | +| `ev` | Normal | Edit Neovim config in a new tabpage | +| `sv` | Normal | Reload Neovim config | +| `q` | Normal | Quit current window | +| `Q` | Normal | Quit all window and close Neovim | +| `w` | Normal | Save current buffer content | +| `cd` | Normal | Change current directory to where current file is | +| `y` | Normal | Copy the content of entire buffer to default register | +| `cl` | Normal | Toggle cursor column | +| `s` | Normal | Toggle the sidebar (show project tree view) | +| `t` | Normal | Toggle tag window (show project tags in the right window) | +| `` | Normal | Toggle spell checking | +| `` | Normal | Toggle paste mode | +| `\x` | Normal | Close location or quickfix window | +| `\d` | Normal | Close current buffer and go to previous buffer | +| `ctrl-u` | Insert | Turn word under cursor to upper case | +| `ctrl-t` | Insert | Turn word under cursor to title case | +| `jk` | Insert | Return to Normal mode (faster ``) | + # Trouble shooting