Is there some way to repeat something like cit
and be left in insert mode instead of automatically repeating the previously entered text?
For example, suppose I have the following lines:
<th>one</th>
<th>one</th>
<th>one</th>
<th>one</th>
I'd like to individually replace the text inside the last three tags so I end up with:
<th>one</th>
<th>two</th>
<th>three</th>
<th>four</th>
If I start by going to the second line and type cittwo<esc>
, it'll replace "one" with "two". If I then go to the next line and press .
, it'll repeat the last command and again replace the "one" with "two". Instead, I was hoping for a way to just delete the contents of the tag and be left in insert mode so I can type whatever I needed.
I know I could make a macro that does this, but for some reason I feel like there is a more basic way of doing it that is currently escaping me.