News for hackers. Stuff that matters.
Re:Vim After 11 Years (2013) by a3n on Sunday November 02, 2014 @11:48AM (#8547070)
If I understand, your statement that X is better than x$ is based on keystrokes.

But there are other ways to look at that.

x$ is more consistent with the general idea of verb object. If part of your memorized subset of Vim includes xiw (do x In Word), xe (do x to the End of the current word), x) (do x to the end of the current sentence), etc, then x$ fits in with that. In fact for this reason (not consciously decided), I almost never use X variants.

For me personally, there is also less wrist-twisting if I don't use X, which involves moving my pinky down to the shift key; that always feels like I'm walking up to the edge of carpal tunnel.

But bottom line, none of those and similar choices are objectively superior to the others. What matters most is how much of what you do can be done with no conscious thought, that it just happens. The best parts of vim for me are the ones I no longer know how to do, the ones that are in muscle memory and that I have to stop and think about after someone asks "how did you do that?"

From that point of view, YVSANMVSBYVSAOK[1].

[1] Your Vim Strokes Are Not My Vim Strokes But Your Vim Strokes Are OK.

Re:Vim After 11 Years (2013) by Ar-Curunir on Sunday November 02, 2014 @01:34PM (#8547494)
Hmm, wouldn't you have to use the shift key anyway for the $ part of c$?
Re:Vim After 11 Years (2013) by a3n on Sunday November 02, 2014 @01:58PM (#8547599)
Hmm, you're right. Just goes to show that I don't think much about what I do in Vim. :)

But the consistency of combining known verbs with known objects still holds. If I know a verb I can operate on any object. If I know an object (motion) I can use any operator on it.