DEV Community

I spent 3 years configuring (n)Vim and this what I learnt

chris on December 27, 2019

TL;DR: just get me the plugins (I use neovim so some plugins might not entirely work for vim) You can check my full configuration here....
Collapse
 
valdorvaldor profile image
David Valdivieso

I don't use any plugins. I only use some identation settings to use tabs instead of spaces (yes I use tabs) and show trailing spaces and that's it.

But I'm glad there is someone out there who thinks a console and VIM is all they need.

Collapse
 
tailnia2010 profile image
Meghnatis

hey. i am using vim for a year now. but i just was introduced to linting and i already have "ale" plugin that you mentioned first in my vimrc but the command :ALEFix does not work. and i actually don't know how to use it. i installed eslint too. but i don't know how to connect them and use them to style my code and fix errors. please help me. thank you very much and also your article was really understanding and well explained.

Collapse
 
joerter profile image
John Oerter

Have you tried fugitive for git integration?

Collapse
 
evilcel3ri profile image
chris

So I have, and GV.vim (github.com/junegunn/gv.vim ) is basing itself on fugitive.

But all in all, I am sometime confusing myself if I have too much overlays of stuff in vim. I don't mind using the vanilla git in a terminal next to me instead of having fugitive or bash wrappers.

Although, GV is pretty neat.

Collapse
 
ggcristo profile image
Cristo García

Did you try :Commits withing fzf.vim?

Thread Thread
 
evilcel3ri profile image
chris

O.M.G didn't know that feature, it's amazing! Thank you!

Collapse
 
vintharas profile image
Jaime González García

Great article! Thanks for sharing your experience why Vim! 😁👍

Collapse
 
vintharas profile image
Jaime González García

I've also being meaning to try the startify plugin, I'm installing it right now! 💪😁

Collapse
 
evilcel3ri profile image
chris

It's a great plugin. It is dispensable but this getting started page allows you to jump back to some projects even if you aren't in the directory or back to the buffer you were working on before. Feels like getting back at your desk instead of starting from a new one. :)

Collapse
 
ghost profile image
Ghost

For those who dislike parenthesis auto-complete I suggest 'kien/rainbow_parentheses.vim' it gives different colors to them based in the nesting level. And is easily configurable.

Collapse
 
omerxx profile image
Omer Hamerman

Nice! You missed the link for smoothie: replace / with -

Collapse
 
evilcel3ri profile image
chris

Thank you! It is fixed :)

Collapse
 
arrudaricardo profile image
Ricardo de Arruda • Edited

The links for vim-gutter, nord-vim and vim-gitbranch are broken.

Collapse
 
evilcel3ri profile image
chris

Fixed, thank you for noticing!