On Fri, 26 May 2006, Tim Chase wrote:

[snip]
I've also had times where, while I regularly use the "fH" varient of matters to go forward to the first character in the tag, sometimes I get stung, as in

 [c]  <li>look here!</li>

(with the cursor on [c]). Using "fl" ("eff ell") in attempt to jump to the ell in "look", gets hung up on the ell in the <li> tag. It's simple to just use ";" to jump again, but it's one of those minor annoyances.

Other matters that can play into the picture include ugly/broken (non-HTML-entity-ized) tag-soup HTML with attributes such as:

 [c] <img src='foo.php?operator=>'>pipsqueek

getting to the first "p" in "pipsqueak" isn't exactly a trivial task to automate.

"f>w" seems to get where we want for both the cases above. I like it for
its no-thinking-cap-just-hit-it result. If the result isn't what we
want, then keep repeating with ";w". Don't think ;)

Then again, some might argue that Vim is about thinking before making a
calculated move..

--
Gerald

Reply via email to