dotfiles/.config/nvim/README.md

39 lines
913 B
Markdown

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
I didn't use this at all before. It's just the vim file explorer. `\e` 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+)