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

  • Hanalei
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

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

  • Peppermill
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.

  • AVincentInSpace
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    6 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