DEV Community

Discussion on: Using Vim as your main editor for web development

Collapse
solarliner profile image
πŸ‡¨πŸ‡΅οΈ Nathan Graule

I would like to mention coc.vim, which is the closest you can get to VS Code-style language extensions. You can easily get IDE-like language support from most languages this way (that's how I configure my Vim). It works really well.

Collapse
codenutt profile image
Jared

I second the use of Coc. Its the current king of autocompletion

Collapse
ginsburgnm profile image
Noah Ginsburg

Oh that looks slick as hell. Have you seen any plugin conflicts with it?

Collapse
solarliner profile image
πŸ‡¨πŸ‡΅οΈ Nathan Graule

Well, my config now has pretty much reduced to Coc + ALE, so there are not many plugins I use lol; so no, I haven't seen any plugin conflicts.

Thread Thread
notaduck profile image
notaduck

Would you be willing to share your conf?

Thread Thread
jwbwater profile image
James Bridgewater

ALE is the best. YCM was too slow last I tried it. Will give Coc a try. I use Vdebug for PHP debugging, but it's pretty buggy itself these days.

Collapse
fidelve profile image
Fidel Sanchez-Bueno Author

I'm not very happy with YouCompleteMe,that's why I didn't include it in the post. I guess that coc.vim might be a good replacement for YCM.

Collapse
thomazmoura profile image
Thomaz Moura

I was happy with YCM but couldn't make it work with some of the features I needed.
Then I tried coc.vim and haven't come back ever since. It's amazing the setup you can easily make for web development with Angular or React.
Nowadays my main editors are nvim with coc.vim on Linux (running on tmux) and VsCode with Vim plugin when running on Windows.

Thread Thread
fidelve profile image
Fidel Sanchez-Bueno Author

I've seen many people talking wonders of coc.vim, Im gonna give it a try.

Collapse
giogiordano93 profile image
Giovanni Giordano

Yeah, I'm using it and it's awesome! I switched from YCM.

Collapse
leojpod profile image
leojpod

+1 for coc.vim it's super nice to use daily and works with so many languages

Collapse
damilolarandolph profile image
Damilola Randolph

The reason I wanted to learn vim was because I often have a lot of things running and once you start working with large projects in vscode, it hogs a lot a RAM (I don't have a lot). I noticed that coc.vim takes a lot of resources well not the plugin itself but the extensions.