this post was submitted on 15 Sep 2023
7 points (100.0% liked)

Furry Programmers

293 readers
1 users here now

English-language general programmers community

Please treat pawb.social’s rules as though they were the rules of this community, even if you’re posting from another instance!

founded 1 year ago
MODERATORS
 

Title: what are some plugins everyone should use in their configs?

Personally i think that Telescope + nvim-dap are a must know, to quickly navigate around a codebase and get a good debugging experience out of the box

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago
  • CoC - Code completion for Neovim

  • Treesitter - Treesitter syntax highlighting for Neovim

  • Pear Tree - Pair parentheses, quotes, HTML tags, etc

[–] [email protected] 2 points 1 year ago
[–] [email protected] 1 points 1 year ago

This might be fairly old-school but I gotta have the NERDTree in plain Vim.

[–] [email protected] 1 points 1 year ago

I find myself using vanilla vim 90% of the time because I often use it on remote servers and I can't rely on plug-ins being available there. It would be nice if that was more portable.

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

vim-argumentative -- >, to switch the argument under the cursor with the next one, <, to swap it with the previous
nvim-surround -- this is the one I really can't live without. ys{motion}{delim} to surround all characters covered by the motion with the given delimiter, e.g. ys2w) surrounds next two words with (). You can also cs{delim1}{delim2} e.g. cs]} to change the square braces surrounding the cursor position to curly braces. You can also ys{motion}f then type a function name.
recover.vim -- you know how sometimes when you open Vim you get a warning that the file is/was already open in a different vim instance and hasn't been saved and you get asked to load or discard the swap file? This plugin gives you an option to diff the disk file against the swap file contents using vimdiff so you can see which one's newer and you don't accidentally lose work.
telescope.nvim -- what doesn't this plugin do? Search through anything it can make a list of -- LSP references of the symbol under the cursor, ripgrep as you type in the current directory, and the list of installed color schemes are a few of my favorites, but there are many more. As you arrow key through the list of search results, it pops up a few lines of the relevant file before and after, then press Enter to jump there.
instant.nvim -- collaborative editing for Neovim a la Google Docs