docs: update cheat sheet

This commit is contained in:
Oliver Ladner 2024-07-30 13:46:57 +02:00
commit 9744726940

View file

@ -50,7 +50,7 @@
- `f<char>` jump forward to `<char>`
- `F<char>` jump backwards to `<char>`
- `;` jump to next occurence of <char> on same line
- `,` jump to previous occurence of <char> onx same line
- `,` jump to previous occurence of <char> on same line
## LSP, Code & Diagnostics
@ -102,6 +102,8 @@
- `C` replace to the end of the line
- `yy` copy the current line
- `yap` "yank-around-paragraph"
- `yip` "yank-inside-paragraph"
- `yaW` copy word w/ dashes/underscores
- `p` paste yanked line below
- `P` paste yanked line above
@ -112,10 +114,12 @@
- `v` at cursor position
- `V` line mode
- `Ctrl`+`v` block mode
- `vap` "visual-select-around-paragraph"
- `vip` "visual-select-inside-paragraph"
### Code selection
- `leader`+`Space` context-sensitive text selection w/ `treesitter`
- `Ctrl`+`Space` context-sensitive text selection w/ `treesitter`
- `Backspace` reduce context-sensitive selection
## SEARCH/OPEN