Hacker Newsnew | past | comments | ask | show | jobs | submit | wraithy's commentslogin

This is vim-surround by tpope[1]. It does way more than just basic brackets!

[1]: https://github.com/tpope/vim-surround


There's always "ce" (change until end of word), which enables the common use case and is also consistent with the rest of the vim language.

I wonder why the special case for "cw" exists... I'd love to hear the story about that initial decision.


I'd guess just because cw is much easier/faster to type (because c and e are pressed with the same finger) on a QWERTY keyboard.


Not if you're touch typing with any standard fingering I've seen. C is first finger, and E is middle finger.


You might need to look around more. The wikipedia article shows 'c' on the middle finger, like I was taught. I can't imagine doing it with the first finger, but I suppose it just depends on how you were taught.

Looking around, I can't even FIND a "c on first finger" fingering.

- https://en.wikipedia.org/wiki/Touch_typing#/media/File:Finge...

- http://www.typingme.com/touch-typing/typing-lesson-9.php

- https://agilefingers.com/articles/touch-typing-finger-placem...

- https://www.computerhope.com/issues/ch001346.htm

- https://www.ratatype.com/learn/

and on and on.


I did watch me and my friends' touch typing behavior, and most of us use left index finger for RFCVGT(B), and right index finger for YUHJ(B)NM. the character in parenthesis means it overlaps between right and left area


That's what I do. I'm clearly wrong about the fingering charts though (I learned from an ancient DOS program, so I can't check that one). I have a picture of a symmetrical one in my head; C is the equivalent of M, so it seems like they should use the same finger.


Didn't even realize I use index finger for c until you mentioned it. Turns out I should be using my E/middle finger. Hm.


`cw` and `ce` don't do the same thing if you're on the last character of the word.


ciw does, and is what most people really want to begin with.


`ciw` is a vimism, though.


I'm not sure if you're serious about this, but it seems very short sighted. If this were the case, I don't think the word "company" would still apply.

However, capitalism doesn't leave consumers with no options - vote with your wallet!


So you're saying that modern capitalism has completely supplanted the original reason for starting a company in the first place?

I did not write what I wrote as a parody. Shareholder primacy is the foremost blight on this modern existence and is responsible for an innumerably large portion of the negative externalities that cause so such much suffering today.

I would vote with my wallet, but that will accomplish exactly jack shit. There are few who will stand with me if it means threatening their pathetically precious creature comforts which our modern capitalism so dutifully provides.

Also, it is worth noting that the entire goal of capitalism is to eliminate those options, using "free-market economics" as cover for its seemingly insatiable lust for competitors to gobble up or otherwise drive out of business. Some of the very first things they teach you in b-school, about moat building and competitive advantages and all that other crap, is an outright attack on the marketplace model


> However, capitalism doesn't leave consumers with no options - vote with your wallet!

That really works with monopolies! /sarcasm /are-you-serious


Oculus doesn't have a monopoly on VR headsets. They have the most popular offering, but there are still plenty of others to choose from


The name could be a reference to learnvimscriptthehardway.stevelosh.com, which is an amazing resource.



Do we know for sure that the admin tools can do all this? My understanding was that the tools enabled password resets, which allowed the attackers to tweet from the accounts themselves.

> For 45 of those accounts, the attackers were able to initiate a password reset, login to the account, and send Tweets.


Looking at your username, I'm unsure if this is a positive or negative thing.


If it's a public blockchain, there's no guarantee that any individual actor isn't just keeping the older data. Same story for a private blockchain.

There might be ways to "remove" data like your parent comment mentioned, but they would probably require making the sharing process a lot more convoluted.


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: