DEV Community

Discussion on: Overview of Vim

Collapse
 
akiramakes profile image
Akira

I'm curious - did you have any particular best ways to learn VIM, or was it more a matter of just going for it and learning as you went along that worked best for you?

Collapse
 
agitri profile image
agitri

like the nike guy, Just Do It!

its hard but will reward you even more with the mastery of text editing in full speed :)

Collapse
 
akiramakes profile image
Akira

ah, that's the dream!!

Collapse
 
hayden profile image
Hayden Rouille

Sounds clichΓ© but just use it every day. I swapped it to my main editor before I was more productive and I'd say I had about 2 weeks of being less productive and it was all up hill from there.

Collapse
 
akiramakes profile image
Akira

That's not too bad! Could be worth doing side exercises in a low-stakes environment w/ VIM and then switching to it from time to time for work.

Thread Thread
 
hayden profile image
Hayden Rouille

Also, there is a great plugin twitch.tv/theprimeagen created which you can practice on github.com/ThePrimeagen/vim-be-good

Collapse
 
robgthai profile image
Poohdish Rattanavijai

I recently started learning VIM as well. Amount of things you need to learn early on is rather scary, there's no two way about it. However, vimtutor(should already be installed alongside vim) walks you through step by step of what you can do with it. For common actions, vim command is rather easy to understand. It usually follow the three steps of "action" (modifier) "direction". This helps me the most with learning the keys.

When I used it, if I get stuck not knowing what to do, I'd just google them then add those actions and keys into init.vim so I can easily remind myself of what it is. Usually after a few time your muscle would start to memorize it any way.

In the end, I don't think you need to learn vim. Lot's of great IDE is out there and provide easy extensions out of the box as well. I only learn it to be able to work faster inside a Docker container.

Collapse
 
hrk2023 profile image
Rittik Dasgupta

Definitely there are great IDEs like VSCode but they have their cons too. Their startup time is much greater than vim, so I don't really like IDEs. Though IDEs have great autocompletion but they are slower in file navigation and movements. Everyone has there own set of perferences, so no IDEs or text editor is bad.

Collapse
 
hrk2023 profile image
Rittik Dasgupta • Edited

Initially I learned some basic commands of vim and used those commands for making edits in my files. If I get stuck somewhere I Google the command for it and if the command is not in my comfort zone I make a keybinding for it. I use vim regularly so I keep on learning new things on the fly.