Add README for nvim

This commit is contained in:
Erik Stambaugh 2024-06-12 09:05:58 -07:00
parent 0ce81731a0
commit 37fcfdb3b9

39
.config/nvim/README.md Normal file
View file

@ -0,0 +1,39 @@
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
This is the vim file explorer. `\ee` enters it.
From within, `%` creates a new file, or `d` creates a new directory
## 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+)