Plugins
Plugin Manager: lazy.vim
This is the neovim plugin manager I am using. It comes with several plugins by default. Its documentation is a good place to start.
Essential plugins
This list was collected by watching the video Zero to IDE.
leap.nvim
Jump to any location. The nice thing about leap is that it creates a one character label for each of its findings that you can quickly jump to it by typing it.
In
- s: Start search from your cursor position.
- S: Start search backward your cursor position.
What is also cool is that it does search on all open panes.
telescope.nvim
It is a fuzzy finder engine with nice text-graphics interface.
- Find files.
- Grep files.
- Find buffers.
- Search key-mappings.
- Search vim options.
- Search git commits.
Rendering issue
When I search for a term, the list of found files appears empty. However, if I press the up/down-arrows, the files are rendered back.
mason.nvim
Manager for: LSP, linters, formatters
neotree.nvim
File tree on a side panel. Tap ? to get help.
nvim-lspconfig
Interacts with LSP servers to offer nice features such as token renaming.
spectre.nvim
Global search replace. It also relies on ripgrep.
In the spectre context window
sr: replace current item. - dd: do not apply replace on this line.
R: replace all marked items.
todo.nvim
Identifies //TODO: strings and collects them.
trouble.nvim
Use the LSP to show issues detected in the code.
xx
whichkey.nvim
It shows up a panel with keys hints. The panel appears if you type the first
character of a key-mapping sequence. For example, when the
Also:
- ': Show the marks (last modifications) of the current buffer.
- ": Show the contents of your registers.
- !: Show key-maps for motion and navigation
You check more by doing a