How can I specify a direction (for going backwards) for commands working on text objects like 2caw
? E.g. I like to make 2caw
replace bbb ccc
in aaa bbb ccc ddd
while on c
.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityHow can I specify a direction (for going backwards) for commands working on text objects like 2caw
? E.g. I like to make 2caw
replace bbb ccc
in aaa bbb ccc ddd
while on c
.
ge2caw
(alsob
or2b
instead ofge
, depending on whichc
the cursor initially is -ge
is safer). – VanLaser Feb 20 '16 at 10:20