2024-06-12 09:05:58 -07:00
|
|
|
|
|
|
|
I'll put commands and things here so I don't forget
|
|
|
|
|
|
|
|
## basics
|
|
|
|
|
|
|
|
`ctrl-w` + `h` `j` `k` `l` or arrows to move from one vim pane to another
|
|
|
|
|
|
|
|
|
|
|
|
## netrw
|
|
|
|
|
2024-06-14 08:15:04 -07:00
|
|
|
I didn't use this at all before. It's just the vim file explorer. `\e` enters it.
|
2024-06-12 09:05:58 -07:00
|
|
|
|
|
|
|
From within, `%` creates a new file, or `d` creates a new directory
|
|
|
|
|
2024-06-14 08:34:01 -07:00
|
|
|
## LSP
|
|
|
|
|
|
|
|
`\j` jump to definition
|
2024-06-12 09:05:58 -07:00
|
|
|
|
|
|
|
## telescope
|
|
|
|
|
|
|
|
Heck yeah. Searches for files
|
|
|
|
|
|
|
|
`\ff` find files
|
|
|
|
`\fg` live grep (needs `ripgrep` installed or else it'll just complain and exit)
|
|
|
|
`\\` or `\fb` browse through vim buffers you already have open
|
|
|
|
|
|
|
|
## undotree
|
|
|
|
|
|
|
|
`\u` to see the tree
|
|
|
|
|
|
|
|
## treesitter-playground
|
|
|
|
|
|
|
|
TODO - I need to add simpler commands to do this stuff
|
|
|
|
|
|
|
|
Deprecation notice
|
|
|
|
|
|
|
|
This plugin is deprecated since the functionality is included in Neovim: Use
|
|
|
|
|
|
|
|
:Inspect to show the highlight groups under the cursor
|
|
|
|
:InspectTree to show the parsed syntax tree ("TSPlayground")
|
|
|
|
:EditQuery to open the Live Query Editor (Nvim 0.10+)
|
|
|
|
|