4 ms·
That's half-right, I think. The question is, when using a command like "change until" or "change forward", i.e. 'ct' or 'cf', what will the effect be? In the c
by edanm 8y ago
That's half-right, I think. The question is, when using a command like "change until" or "change forward", i.e. 'ct' or 'cf', what will the effect be?
In the case of 'ct', you're going to delete up until the letter, whereas in 'cf', it will include the letter you're targetting.
- yakshaving_jgt 8y agoIt's definitely exactly right, but I tried to word it in a way which didn't make me look like a know-it-all. > The question is, when using a command like "change until" or "change forward", i.e. 'ct' or 'cf', what will the effect be? Is this a question? You answered it accurately. The behaviour is consistent here too, though the mnemonics people often use don't always make total sense.
- jolmg 8y ago> "change forward" [...] 'cf' "change find", you mean.
- edanm 8y agoInteresting! I'd always thought of it as "f"orward. Is there any official reference to it standing for find? Googling has found a few unofficial references, but help doesn't appear to say either way.
- jolmg 8y agoIn vim's usr_03.txt manual file, it says: > One of the most useful movement commands is the single-character search command. The command "fx" searches forward in the line for the single character x. Hint: "f" stands for "Find". That seems official.
- stevew20 8y agoJeez, I think this specific comment chain illustrates one reason why the OP decided to make a new text editor. And this is why I don't use vim anymore. You have 4 people, all somewhat experienced vim users (guessing based on prior posts), who all have conflicting ideas about how to do a simple move operation. This goes beyond "counterintuitive-ness"... After a few years working with vim, I find myself unable to easily recall how to do some basic operations. Vim is counter-retentive for me as well. Thanks OP, I'm gonna start playing with Amp now!