Let's say I have some HTML:
<tag>Here is a bunch of text which is pretty long.</tag>
My cursor is on H.
I want to add some more text after the period. That is, I want to append text inside of the tag.
Right now, I'd probably $
to the end of the line and then b
until I get to the .
The end of the text inside the tag is not predictable, so I can't use f.
.
What's the fastest way to get to the end of the text inside a tag?
This might not be the best way but one way to do this is to use vit
to visually select the inner tag block. And then type A
to append to the visually selected region.
So the command is
vitA
And if you just want your cursor at the end of the tag just use
vit<esc>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With