I'm a fan of Vim, I've been using Vim syntax in my work for more than a year, and I so love it. The most thing I love in Vim is the key combination...
For further actions, you may consider blocking this person and/or reporting abuse
Here's a little trick:
cibis equivalent toci(. I usecibbecause it is a little bit faster to pressbinstead of(which isShift+9in QWERTY layout. This improvement seems small, but over the time this can make a big difference.Wow. Thanks @m4xshen. That's a good trick. Is there any same thing that we can apply for [], and {}?
Yes, can use
ciBinstead ofci{. However I personally don't use this because the speed are pretty much the same (pressingBalso requiresShiftkey).You can also do
c%if you're on the character itself, regardless of what that character is so long as it is part of a matched pair.Great article, Khang!
I have an explanation for 'ct':
"ct=" change text til the "="
We also use "ct" with another character. Eg: "ct,", "ct:", "ct_". It's really helpful when working with objects or JSON.
Yeah, thanks @huantd1 for your explanation, that makes "ct" command more clearly.
Very insightful!
This is great. The gifs really help visualize what's happening.