I might have some text like the following:
<foo>something very important</foo>
1 2 ^ 3 4
If the cursor is inside the tag, for example on the m
character, what is the simplest way to jump to the beginning of the tag (1)?
It seems like this action should be simple, but I can't figure it out. I know that I can select in or around the tag and then jump to the beginning of end of the visual selection (e.g. vito
or vatoo
) but it feels like I should be able jump the cursor around without going into visual mode first.
I've looked at the targets.vim
plugin, but I don't think it offers a solution in this case, though I might be wrong as I find the documentation difficult to understand. Is there a way to use the f
F
t
T
commands on tags and objects rather than literal characters?