docs: update cheat sheet
This commit is contained in:
parent
8013e0bd62
commit
23f4cf315b
2 changed files with 3 additions and 2 deletions
|
|
@ -1,8 +1,7 @@
|
|||
# Neovim command and keybind cheat sheet
|
||||
# Neovim cheat sheet
|
||||
|
||||
## BASICS
|
||||
|
||||
- `;` leader key
|
||||
- `:checkhealth [<pluginname>]` check base or plugin status
|
||||
- `:checkhealth vim.lsp` show details of LSP attached to buffer
|
||||
- `:verbose set expandtab?` check where `expandtab` has been set last
|
||||
|
|
@ -89,6 +88,7 @@
|
|||
- `cc` replace whole line
|
||||
- `C` replace to the end of the line
|
||||
- `yy` copy the current line
|
||||
- `yygccp` comment and copy the current line
|
||||
- `yap` "yank-around-paragraph"
|
||||
- `yip` "yank-inside-paragraph"
|
||||
- `yaW` copy word w/ dashes/underscores
|
||||
|
|
@ -121,3 +121,4 @@
|
|||
- `gf` open file under cursor in a new buffer
|
||||
- `gx` open link under cursor in default browser
|
||||
- `*` search word under cursor
|
||||
- `Ctrl`+`l` remove search highlight
|
||||
|
|
|
|||
BIN
CHEATSHEET.pdf
BIN
CHEATSHEET.pdf
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue