News for hackers. Stuff that matters.
Re:Slap – A Sublime-like terminal-based text editor by dozzie on Sunday May 28, 2017 @01:22PM (#14435258)
> It's a trade-off: Do I use a bit of mental power, and save some finger movement?

hammerandtongs already suggested this: it's not a trade-off, you just didn't get to learn Vim appropriately (you say yourself that you're "part time vim user"). Vim is so convenient for its regular users not because it saves them keystrokes, but because it saves them this mental power you talk about. I don't think what commands I want to execute. I think where I want to get in the file or what should the text look like, and then the logic behind the structure of vi/Vim commands takes me there.

It's very similar to proficiency in any other editor, except Vim has so much more to offer with regard to editing (both in first-order commands and in composing the commands). So much more that watching how a proficient Vim user edits a file is akin to observing a stage magician. Most of the people cannot keep up with the changes to the text.

Re:Slap – A Sublime-like terminal-based text editor by hashhar on Sunday May 28, 2017 @05:14PM (#14436112)
Macros are the best part of vim for me. They allow me to transform large quantities of text which would be difficult to do using a regular expression even. Also, after enough use (I'd say 4 weeks in my case) a lot of the commands become muscle memory and I don't have to think about what I'm hitting. I think about a goal and know what to do to get there.
Re:Slap – A Sublime-like terminal-based text editor by ice109 on Sunday May 28, 2017 @01:33PM (#14435297)
>I don't think what commands I want to execute. I think where I want to get in the file or what should the text look like, and then the logic behind the structure of vi/Vim commands takes me there.

this is gibberish unless vim comes with some sort of spinal cord dongle. either it's muscle memory or thinking but you still have to have practiced the keystrokes.

Re:Slap – A Sublime-like terminal-based text editor by antoinealb on Sunday May 28, 2017 @01:45PM (#14435342)
Muscle memory is not using some brain power as the GP says. Once you are used to it (2-3 weeks), it feels very natural, I think "Oh I need to change the end of this sentence" and my fingers will take me there. It really is an extension of touch typing.
Re:Slap – A Sublime-like terminal-based text editor by pweissbrod on Sunday May 28, 2017 @03:59PM (#14435845)
Gee I got to the point of feeling natural after 2-3 months...
Re:Slap – A Sublime-like terminal-based text editor by savanaly on Sunday May 28, 2017 @08:04PM (#14436663)
He's describing how it feels to be a good vim user, not how it works in reality. A great tennis player might say "I don't think about how to hit the ball, I just think about where I want it to go and it goes there", and that would be reasonable. Then you come in and say no that's gibberish, unless he has a spinal cord dongle hooked up to a robot that hits it for him, he has to be thinking about doing the actions, they're not automatic after all!
Re:Slap – A Sublime-like terminal-based text editor by type0 on Monday May 29, 2017 @03:04AM (#14437823)
> unless vim comes with some sort of spinal cord dongle

cerebellum is largely responsible for your muscle memory but premotor cortex stll needs to initialize those commands (what keys to press) then the cerebellum adjusts the precision i.e touch-typing part of it guess...

Re:Slap – A Sublime-like terminal-based text editor by OJFord on Sunday May 28, 2017 @08:06PM (#14436676)
Do you think about each key you want to press to type a sentence?

I expect not. Vim, for those that use it, is merely an extension of that.

Re:Slap – A Sublime-like terminal-based text editor by atomi on Sunday May 28, 2017 @02:03PM (#14435408)
Saves mental power? These regular vim users must be some kind of super humans to autopilot some of these incantations.

http://deliberate-software.com/vim-refactoring-patterns/

Re:Slap – A Sublime-like terminal-based text editor by dozzie on Sunday May 28, 2017 @02:10PM (#14435437)
Which ones? All I see is just a handful of distinct commands. Those commands take arguments, and they are called with those arguments over and over again, but there's very little magic in the article. And, in fact, very little of the commands available to and regularly used by Vim user were shown. (And I think this was the point of the article.)

It's like you were arguing that printf("foo\n") and printf("bar\n") were some fundamentally different magic incantations in C that you need to remember separately.

Re:Slap – A Sublime-like terminal-based text editor by atomi on Monday May 29, 2017 @03:37PM (#14440980)
That's right. You've made a great point. Learning vim is like learning a new language. Which isn't trivial for most people as exemplified by software like nano and the new micro.