mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update README
This commit is contained in:
parent
64bcc85193
commit
40c7fc552a
@ -92,7 +92,7 @@ Some of the shortcuts I use frequently. In the following shortcuts, `<leader>`
|
|||||||
represents ASCII character `,`.
|
represents ASCII character `,`.
|
||||||
|
|
||||||
| Shortcut | Mode | platform | Description |
|
| Shortcut | Mode | platform | Description |
|
||||||
|-------------------|---------------|-----------------|------------------------------------------------------------------------------------------------------|
|
|-------------------|---------------|-----------------|------------------------------------------------------------------|
|
||||||
| `<leader>f` | Normal | Linux/macOS/Win | Fuzzy file search in a floating window |
|
| `<leader>f` | Normal | Linux/macOS/Win | Fuzzy file search in a floating window |
|
||||||
| `<leader>h` | Normal | Linux/macOS/Win | Fuzzy help search in a floating window |
|
| `<leader>h` | Normal | Linux/macOS/Win | Fuzzy help search in a floating window |
|
||||||
| `<leader>t` | Normal | Linux/macOS/Win | Fuzzy buffer tag search in a floating window |
|
| `<leader>t` | Normal | Linux/macOS/Win | Fuzzy buffer tag search in a floating window |
|
||||||
@ -100,6 +100,7 @@ represents ASCII character `,`.
|
|||||||
| `<leader>v` | Normal | Linux/macOS/Win | Reselect last pasted text |
|
| `<leader>v` | Normal | Linux/macOS/Win | Reselect last pasted text |
|
||||||
| `<leader>ev` | Normal | Linux/macOS/Win | Edit Nvim config in a new tabpage |
|
| `<leader>ev` | Normal | Linux/macOS/Win | Edit Nvim config in a new tabpage |
|
||||||
| `<leader>sv` | Normal | Linux/macOS/Win | Reload Nvim config |
|
| `<leader>sv` | Normal | Linux/macOS/Win | Reload Nvim config |
|
||||||
|
| `<leader>st` | Normal | Linux/macOS/Win | Show highlight group for cursor text |
|
||||||
| `<leader>q` | Normal | Linux/macOS/Win | Quit current window |
|
| `<leader>q` | Normal | Linux/macOS/Win | Quit current window |
|
||||||
| `<leader>Q` | Normal | Linux/macOS/Win | Quit all window and close Nvim |
|
| `<leader>Q` | Normal | Linux/macOS/Win | Quit all window and close Nvim |
|
||||||
| `<leader>w` | Normal | Linux/macOS/Win | Save current buffer content |
|
| `<leader>w` | Normal | Linux/macOS/Win | Save current buffer content |
|
||||||
@ -108,6 +109,8 @@ represents ASCII character `,`.
|
|||||||
| `<leader>cl` | Normal | Linux/macOS/Win | Toggle cursor column |
|
| `<leader>cl` | Normal | Linux/macOS/Win | Toggle cursor column |
|
||||||
| `<leader>cd` | Normal | Linux/macOS/Win | Change current working directory to to the dir of current buffer |
|
| `<leader>cd` | Normal | Linux/macOS/Win | Change current working directory to to the dir of current buffer |
|
||||||
| `<space>t` | Normal | Linux/macOS/Win | Toggle tag window (show project tags in the right window) |
|
| `<space>t` | Normal | Linux/macOS/Win | Toggle tag window (show project tags in the right window) |
|
||||||
|
| `<leader>gs` | Normal | Linux/macOS/Win | Show Git status result |
|
||||||
|
| `<leader>gc` | Normal | Linux/macOS/Win | Run git commit |
|
||||||
| `<F9>` | Normal | Linux/macOS/Win | Run current source file (for Python, C++) |
|
| `<F9>` | Normal | Linux/macOS/Win | Run current source file (for Python, C++) |
|
||||||
| `<F11>` | Normal | Linux/macOS/Win | Toggle spell checking |
|
| `<F11>` | Normal | Linux/macOS/Win | Toggle spell checking |
|
||||||
| `<F12>` | Normal | Linux/macOS/Win | Toggle paste mode |
|
| `<F12>` | Normal | Linux/macOS/Win | Toggle paste mode |
|
||||||
@ -118,7 +121,7 @@ represents ASCII character `,`.
|
|||||||
| `ob` | Normal/Visual | macOS/Win | Open link under cursor or search visual selection |
|
| `ob` | Normal/Visual | macOS/Win | Open link under cursor or search visual selection |
|
||||||
| `ctrl-u` | Insert | Linux/macOS/Win | Turn word under cursor to upper case |
|
| `ctrl-u` | Insert | Linux/macOS/Win | Turn word under cursor to upper case |
|
||||||
| `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 |
|
||||||
|
|
||||||
# Trouble shooting
|
# Trouble shooting
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user