improve mini.diff

This commit is contained in:
2026-09-18 02:43:20 +02:00
parent 7c24bf6c94
commit c71d6ae982
3 changed files with 22 additions and 14 deletions
+10 -8
View File
@@ -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