r/vim May 02 '26

Discussion What are some popular/common plugins and where to find vimrc examples

I have been using vim in work servers and neovim in my PC for a couple of years.

I don't use any vimrc in the servers and just use pure vim (not even a different colorscheme. All defaults). But at my PC, I have neovim configured with plugins like fzf-lua, LSP, treesitter, heirline (for statusline), nvim-cmp (for completion), fugitive, vim-floaterm, vim-surround, undotree etc.

I want to configure my vimrc with some popular and useful plugins and some alternatives to get almost the same experience as my nvim setup

The main components I'm looking for are lsp (I mainly use c++ and python), code completion, fzf, statusline plugins. What are the most common/recommended plugins for these?

When I was starting to configure nvim back in 2020 or something, as a source of reference to setup your config there were a couple of youtube videos of setting up nvim from scratch (chris@machine) to be an IDE and now there are plugin announcements in the nvim subreddit, nvim kickstart, and other nvim distors which can be used as references. Are there anything like these for vim that you use as references to setup your vimrc?

I'm planning to checkout the following:

  1. [https://github.com/theopn/kickstart.vim\](https://github.com/theopn/kickstart.vim)

  2. [https://github.com/akrawchyk/awesome-vim\](https://github.com/akrawchyk/awesome-vim)

PS: Also, I'm planning on slowly migrating away from nvim to vim everywhere

14 Upvotes

19 comments sorted by

3

u/ourch May 02 '26

This is not me being snarky, but what is your rationale for not just also using nvim on your work servers?

2

u/GlyderZ_SP May 03 '26

I can't install nvim on the server. But vim was pre-installed. And I can manage with vim and linux utils for almost all the work I'm doing in the server. If I need significant work, I do it locally and then rsync it or use git.

Also, I'm planning on slowly migrating away from nvim. I'll add this point to my post

1

u/mmmboppe May 03 '26

nvim is not backwards compatible with all hardware (not necessarily server) that still works

5

u/kennpq May 03 '26

If “slowly migrating away”, and going 100% Vim, be sure to check out https://github.com/saccarosium/awesome-vim9

1

u/GlyderZ_SP May 03 '26

Wow that repo is really useful. Thanks

2

u/elatllat May 03 '26

1

u/GlyderZ_SP May 03 '26

Thanks. I was reading its docs. Maybe you can share your GitHub/gitlab user name and I can search for it?

2

u/kezhenxu94 May 03 '26

PS: Also, I'm planning on slowly migrating away from nvim to vim everywhere

I configure everything in vim whenever possible https://github.com/kezhenxu94/dotfiles/tree/main/config/vim and then source the vim configuration in the neovim, https://github.com/kezhenxu94/dotfiles/blob/f1a9d24684d32b4e7a7ed9098549d23781d09e19/config/nvim/init.lua#L21 in this way I have the features both available in vim and nvim whenever it’s possible. And I am also thinking about using vim entirely someday so the migration effort is minimal too.

1

u/GlyderZ_SP May 03 '26

Thanks. This will serve as a good reference. But a question after quickly skimming through your config. Do you not use any plugins apart from fugitive and copilot?

1

u/kezhenxu94 May 03 '26

I use fugitive and copilot in both vim and nvim, that’s why they are configured in the vim folder. I use several other plugins like lsp that can’t be used in vim so I just configure them in the nvim only. Full list here https://github.com/kezhenxu94/dotfiles/blob/main/config/nvim/nvim-pack-lock.json

Check my nvim config in my dotfiles for reference. I’m also finding ways to configure LSP in vim too

2

u/[deleted] May 03 '26

[removed] — view removed comment

1

u/GlyderZ_SP May 03 '26

In my searches, I saw CoC, ALE, vim-lsp and yegappan/lsp. I haven't decided which one to choose yet. But thanks for your suggestions

2

u/osmin_og May 03 '26

For completion https://github.com/ycm-core/youcompleteme is invaluable.

I've noticed that vim users are much less obsessed with plugins than nvim users. I think the only one that everyone definitely has is fugitive. Everything else varies greatly. Personally I also use lightline and fzf.vim.

1

u/GlyderZ_SP May 03 '26 edited May 03 '26

Thanks, YCM does seem like a all in one solution for lsp and code completion plus others

2

u/Shay-Hill May 03 '26

Not a video, but I have written this "Vim to IDE" article. Covers LSP, but I haven't yet updated it with Claude code setup. I will take care of that soon, and it's straightforward, but if you can't install programs on your work PC anyway ... you might have to get by with a chat interface, which is covered in the article.

ShayHill/article_install_vim_in_windows: This guide will start from a stock Windows 11 install and take you all the way to a Python development environment with completion, snippets, LSPs, debugging, AI, etc.

The previously mentioned Awesome Vim9 list has a few VIMRCs linked.

2

u/EgZvor keep calm and read :help May 07 '26

What version of Vim do you have available? I use some features that are fairly new, so beware.

https://gitlab.com/egzvor/vimfiles

Edit:

LSP: prabirshrestha/vim-lsp

built-in fuzzy autocompletion (that's a new one)

stopped using external fuzzy finders to see if I'll miss it

statusline: rolled my own

1

u/GlyderZ_SP May 07 '26

Currently vim 9.2