dotfiles/.config/nvim/README.md

40 lines
877 B
Markdown
Raw Normal View History

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
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+)