chore: move cheatsheet generation to subfolder
This commit is contained in:
parent
42e3b7e139
commit
138471d0ae
10 changed files with 303 additions and 301 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## BASICS
|
||||
|
||||
- `Space` leader key
|
||||
- `;` leader key
|
||||
- `:checkhealth [<pluginname>]` check base or <pluginname> status
|
||||
- `:verbose set expandtab?` check where `expandtab` has been set last
|
||||
- `:Lazy` show package manager UI
|
||||
|
|
@ -31,7 +31,8 @@
|
|||
|
||||
## Buffers
|
||||
|
||||
- `Space`+`Space` shows buffers sorted by last used (via `Telescope buffers`)
|
||||
- `leader`+`leader` shows buffers via [snipe.nvim](https://github.com/leath-dub/snipe.nvim)
|
||||
- In snipe.nvim popup: Hit `d` to close the selected buffer
|
||||
- `:bd` close current buffer
|
||||
- `:bn` go to next buffer
|
||||
- `:bp` go to previous buffer
|
||||
|
|
@ -49,16 +50,15 @@
|
|||
- `Ctrl`+`i` jump back to location you were before (after using `Ctrl`+`o`)
|
||||
- `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> on same line
|
||||
|
||||
## LSP, Code & Diagnostics
|
||||
|
||||
- `Ctrl`+`n/p` scroll down/up through LSP suggestions
|
||||
- `K` show LSP context info
|
||||
- `Ctrl`+`l` accept selected suggestion
|
||||
- `gd` go to definition
|
||||
- `gr` show references of function
|
||||
- `leader`+`qq` toggle `trouble.nvim` quickfix list
|
||||
- `leader`+`q` toggle `trouble.nvim` quickfix list
|
||||
- `leader`+`da` go to next diagnostic (any severity)
|
||||
- `leader`+`dw` go to next diagnostic (warning severity)
|
||||
- `leader`+`de` go to next diagnostic (error severity)
|
||||
|
|
|
|||
BIN
CHEATSHEET.pdf
BIN
CHEATSHEET.pdf
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
|
@ -3,5 +3,7 @@
|
|||
# Packages required:
|
||||
# - pandoc
|
||||
# - basictex (brew install --cask basictex)
|
||||
|
||||
# Add timestamp to PDF
|
||||
pandoc --standalone --from=markdown+yaml_metadata_block --template=tmpl.tex \
|
||||
--metadata-file=vars.yml --pdf-engine=xelatex -o CHEATSHEET.pdf CHEATSHEET.md
|
||||
--metadata-file=vars.yml --pdf-engine=xelatex -o ../CHEATSHEET.pdf ../CHEATSHEET.md
|
||||
Loading…
Add table
Add a link
Reference in a new issue