DEV Community


Discussion on: I'm considering to use vim or neovim as my primary text editor. Any tips?

thermatix profile image
Martin Becker

First of all, if you haven't already, take a look at open vim which is a good way to learn the basics.

Second of all, I jumped cold-turkey, so I can't say the same for you but you will have a noticeable drop in productivity to begin with but will slowly get better and maybe, probably, surpass previous levels of productivity.

Thirdly, don't try to learn to much, find something useful (maybe start with some of the motions as they're like the bread and butter of vim) and practice with that till it becomes second nature then try something else, bit by bit. I found doing that the easiest way to learn vim and I'm still finding new things to learn about vim.

Fourth, have look at plugins and configuring vim, a good way to start is to look at someone's vimrc config but be prepared to drop down a rabbit hole ;).

Vim is hard work but I honestly felt it was worth the trouble to learn as I've not looked back at using sublime or IDE's. I would honestly recommend using NeoVim, simply because I had performance issues that went away with switching to it and they're basically identical but you don't have to do that if you don't want to.

mjb2kmn profile image
MN Mark

I agree with all of that and would like to add: patience. It's implicit in the Second, but I wanted to make it explicit. I tried and gave up on vim twice before sticking with it and starting to understand it.

Also to add a couple more resources:

  • vimtutor is a command line program for learning vim
  • - a game that teaches vim.
hangtwenty profile image
M. Floering

+1 for vim adventures!

souris profile image

thanks, that's very useful