improve mini.diff
This commit is contained in:
@@ -45,12 +45,8 @@ Git shortcuts:
|
||||
- `<leader>lg` open LazyGit
|
||||
- `<leader>dv` open Diffview
|
||||
- `<leader>dc` close Diffview
|
||||
|
||||
Toggle shortcuts:
|
||||
|
||||
- `<leader>tw` toggle soft wrap
|
||||
- `<leader>ti` toggle inline diagnostics
|
||||
- `<leader>tv` toggle virtual diagnostics
|
||||
- `[h`, `]h`, `[H`, `]H` jump to hunks
|
||||
- `<leader>th` — toggle the expanded hunk view
|
||||
|
||||
Refresh shortcuts (oil and buffers):
|
||||
|
||||
@@ -66,6 +62,13 @@ Oil usage:
|
||||
- `<C-p>` previews the selected entry
|
||||
- `gx` opens the file in external viewer
|
||||
|
||||
Toggle shortcuts:
|
||||
|
||||
- `<leader>tw` toggle soft wrap
|
||||
- `<leader>ti` toggle inline diagnostics
|
||||
- `<leader>tv` toggle virtual diagnostics
|
||||
- `<leader>th` — toggle the expanded hunk view
|
||||
|
||||
## Terminal
|
||||
|
||||
Two options to leave terminal mode and return to normal mode:
|
||||
@@ -102,8 +105,7 @@ Diagnostics:
|
||||
- `g.` open diagnostic float
|
||||
- `gl` send diagnostics to the location list
|
||||
- `gld` display diagnostic information
|
||||
- `]g` jump to next warning or error
|
||||
- `[g` jump to previous warning or error
|
||||
- `]g`, `[g` jump to warning or error
|
||||
- `<leader>ti` toggle inline diagnostics
|
||||
- `<leader>tv` toggle virtual diagnostics
|
||||
- `<leader>xx` toggle project warnings and errors
|
||||
|
||||
Reference in New Issue
Block a user