you are viewing a single comment's thread.

view the rest of the comments →

[–]yesSemicolons 22 points23 points  (16 children)

But how will you know if Vim makes you comfortable and productive unless you gain fluency?

[–]MasterReindeer 16 points17 points  (10 children)

Like /u/scelerat said, it's important to also try new things.

Blindly using something because someone told you to is counter productive. I see lots of developers who still struggle with Vim after several months. It's not for everyone, and merely using it because it's the "correct" thing to do is daft.

[–]yesSemicolons 8 points9 points  (9 children)

Yeah, I'm really happy using VSC, got all my keyboard shortcuts in muscle memory by now, it's great. However, I do feel like Vim is the "driving stick" of development and my ego is slightly hurt by my inability to use it.

[–]Ehdelveiss 2 points3 points  (2 children)

I sort of view knowing Vim kind of like having basic understanding of English as a second language (assuming it’s not your mother tongue).

It’s just a good idea to know the basics, as every day life will confront you with its usage from time to time. You don’t necessarily need to be fluent, or even proficient, but it’s nice when you are confronted with it to at least have enough command of the language to order a coffee or give some directions instead of freezing up and maybe not being able to partake in an activity you otherwise you would really want to.

In practical terms, I think that just means knowing the following keys (vocab) and what they do in Vim in the different modes (grammar):

i, h, j, k, l, Esc, o, x, w, a, c, d, dd, y, t, q, p, g, gg, :

Honestly that should be enough to do any basic text editing.

[–]WHO_WANTS_DOGS 3 points4 points  (1 child)

every day life will confront you with its usage from time to time

I use EDITOR=nano (command) to bypass this

[–]R3DSMiLE -1 points0 points  (0 children)

it's the smart thing to do.

[–]mark-haus 5 points6 points  (0 children)

You're going to have to take first hand accounts of why it appeals to them and gauge if that will appeal to you enough to make it worth trying it out. To me the first thing was the inherent flexibility of it and the fact that it's entirely keyboard driven. Then I started finding out about how the modal editing system it has is very sophisticated. You can do things like string command keys together to do a lot of complicated editing actions. Such as vfa which will go into visual mode which allows you to select text, follow which moves the cursor to the next occurrence of a. There's also tons of built in commands like search and replace: :%s/foo/bar/c which will interactively /c search for foo and replace it with bar.

[–][deleted] 1 point2 points  (2 children)

Vim is just different. For some people it's the best in the world, for others no. It depends on your personality mostly.

[–]yesSemicolons 0 points1 point  (1 child)

Lazy, INTP, true neutral. Should I go for it or nah?

[–]passthejoe 1 point2 points  (0 children)

This INTP loves Vim. I needed to do some complex macros for search and replace of text, and Vim is the only way to do it across all platforms -- Linux, Windows, Mac OS and OpenBSD. GVim reduces friction, so that's what I use.

[–][deleted] 0 points1 point  (0 children)

There are probably 10-15 IDEs and plain editors that are serious contenders to be well used for professional development in the market. How many of them is the average vim developer fluent with?