r/programming • • Sep 24 '15

Vim Creep

http://www.norfolkwinters.com/vim-creep/
1.2k Upvotes

844 comments sorted by

View all comments

Show parent comments

60

u/firstglitch Sep 25 '15

It is not about being a bottleneck. It is about maintaining the flow of your thought. When you are sufficiently proficient in VIM, you can do things involuntarily, and edit text without breaking the flow of your thought. For example, when you are driving you can zone out and think about other things, because our brain has developed sufficient autonomy for doing that task. In a similar way, the user interface provided by vim is something that is amiable to that kind of autonomous handling by the brain. Using a pointing device like mouse will never be like that.

88

u/[deleted] Sep 25 '15

Using a pointing device like mouse will never be like that.

Citation needed

24

u/serrimo Sep 25 '15

This is only anecdote; but what he described is exactly my situation.

I used Visual Studio, some Eclipse and JetBrains for many years before trying out vim. Vim is cool and all but it's not really more efficient. What really cool though is the ability to edit without moving the hands.

It's hard to describe, but the experience is comparable to the step you make when you type with hunt-and-peek vs touch-typing. You no longer need to look down for any single thing you do; and that is incredibly liberating.

If IDE works for you, great. IDE works for me too. I just wish that we can somehow make an IDE that you can edit w/o hunt-and-peek.

10

u/quicknir Sep 25 '15

All the IDEs you mentioned have pretty good vim emulators, I'd recommend checking one out. I use vrapper for eclipse.

4

u/[deleted] Sep 25 '15

You no longer need to look down for any single thing you do; and that is incredibly liberating.

Here's the thing I don't get: I don't need to look down to move my hand to the mouse, click on something, and come back to the keyboard.

5

u/jollybobbyroger Sep 25 '15

You're missing the point /u/serrimo is trying to make

2

u/[deleted] Sep 25 '15

Which is?

4

u/jollybobbyroger Sep 25 '15 edited Sep 25 '15

This is only anecdote

/u/serrimo is only trying to compare using vim to the feeling of transcending the struggle. The feeling of not thinking of what you're doing, but just doing it .. it's a bit like breaking the language barrier .. you go from analysing each word into just comprehending the meaning effortlessly.. the point doesn't really have much to do with typing itself even though typing is involved in both sides of the analogy .. so I can see why the point can seem subtle.

→ More replies (1)

2

u/[deleted] Sep 25 '15

I get pretty close with Visual Studio 2013. Between shortcuts, the immediate window, and the quick-search, I can get to nearly any feature of the IDE that I need while editing.

I still use the mouse for configuration, NuGet, and browsing the code--it's simply more convenient in most cases.

0

u/[deleted] Sep 25 '15

[deleted]

45

u/Snow88 Sep 25 '15

You'd be impressed if using a mouse doesn't break my train of thought?

Account managers and project coordinators walk up to my desk all day to ask questions and check-in on how an implementation or change request are going. As soon as they leave I'm back to what I was doing.

If using a mouse distracted me I wouldn't be able to do my job.

→ More replies (5)

3

u/cosmicsans Sep 25 '15

A lot of editors have keyboard shortcuts. In PHPStorm I don't have to use my mouse, but I'm a web developer so I still have to consistently alt tab into a web browser.

3

u/throwaway131072 Sep 25 '15

I think this is an old person thing

→ More replies (4)

3

u/Andallas Sep 25 '15

"...With a mouse that's just not possible. You have to take your eyes away from whatever they were looking at, find the mouse pointer on the screen, move it to wherever you need to go..."

Have you ever used a mouse? I don't take my eyes off what I'm looking at to go 'find' the cursor, then follow it back to what I want to click, I look at what I want to click, then move the mouse there. It's called eye-hand coordination, and is the ability to make complex and small movements with your hands (fine-motor control) without having to stare at what you are doing. Similar to typing without looking at a keyboard, or playing a console game without looking at the controller. I honestly don't know anybody (though I'm sure there are some) that has to go through this convoluted process to click on something.

It's one thing to enjoy a product/tool and want to evangelize it because you find value in it. It's a whole other thing to just be disingenuous.

→ More replies (3)
→ More replies (6)

23

u/antpocas Sep 25 '15

I never got this "flow of thought" thing. Whenever I'm programming, typing doesn't break my flow of thought. By the time I start typing, I'm mostly done with thinking. I already know what I'm going to do in my head.

0

u/[deleted] Sep 25 '15

[deleted]

→ More replies (3)

21

u/apfelmus Sep 25 '15

In a similar way, the user interface provided by vim is something that is amiable to that kind of autonomous handling by the brain. Using a pointing device like mouse will never be like that.

Actually, there is evidence to the contrary: Keyboard vs Mouse. Quotes:

We’ve done a cool $50 million of R & D on the Apple Human Interface. We discovered, among other things, two pertinent facts:

  • Test subjects consistently report that keyboarding is faster than mousing.

  • The stopwatch consistently proves mousing is faster than keyboarding.

[..]

It takes two seconds to decide upon which special-function key to press. Deciding among abstract symbols is a high-level cognitive function. Not only is this decision not boring, the user actually experiences amnesia! Real amnesia! The time-slice spent making the decision simply ceases to exist.

10

u/namekuseijin Sep 25 '15

Originally published in the AppleDirect, August, 1989

they were trying really hard to sell the Mac over DOS, right?

mouse is only useful when editing images. For text, there's nothing like having editors aware of more useful chunks of text than mere line or character, such as sentences, paragraphs and code blocks... You want to remove last 3 paragraphs? Try the vi way or the mouse way...

and BTW, I hate all IDEs bloat. Helps nothing all those package lists and warning messages and code itself is reduced to a tiny window. These people are insane, but then, they're coding in java...

6

u/earthboundkid Sep 25 '15

"Only useful" is too strong. For example, I love the CLI but exploring a new file system with cd and ls is awful. It's way less efficient than just clicking on a folder name and seeing an expanding tree.

→ More replies (4)

3

u/Ran4 Sep 25 '15

That a piece of nonsense. This is completely irrelevant for programmers, who nearly all belong to the top 10% most proficient computer users. The mouse is better for the average person, but that's not relevant for most programmers.

→ More replies (1)
→ More replies (2)

2

u/argv_minus_one Sep 25 '15

That'd be because using a mouse is already dead simple, and does not require such adaptation.

2

u/hugthemachines Sep 25 '15

I am as used to using a mouse as using a steering wheel. So it seems illogical to say you can zone out while driving but not while clicking.

→ More replies (13)