Can I go to the end of the text inside the tag in one go?

Let's say I have HTML:

<tag>Here is a bunch of text which is pretty long.</tag>

My cursor is on H.

I want to add more text after a period. That is, I want to add text inside the tag.

Right now, I’m probably $up to the end of the line, and then buntil I get to.

The end of the text inside the tag is not predictable, so I can not use it f..

What is the fastest way to get to the end of the text inside a tag?

+4
source share
3 answers

This may not be the best way, but one way to do this is to use vitto visually select the internal tag block. Then enter Ato add to the visually selected area.

So the team

vitA

,

vit<esc>
+10

t<a .

FDinoff .

+3

This is not one step, but it does the job. Assuming you are in normal mode. Enter the following commands

vatA

What is it, it visually selects a block, including a tag, and adds it to the end of the line.

0
source

All Articles