Re: Jumping to Headline in h1Headline/h1

2006-05-27 Thread Juan Lanus
There is also the \zs stuff. For example /\zs. will set the cursor at the first character after a . Then n will do it again, and again ... Or maybe /[^]*\zs. Or /[^]*\zs[^]\+ that will highlight the tag's content. As of using fFtT for to move around the line, I find it much safer than repeated

Re: Jumping to Headline in h1Headline/h1

2006-05-26 Thread Benji Fisher
On Fri, May 26, 2006 at 07:42:11AM -0500, Tim Chase wrote: (c)h1Headline/h1 My cursor is denoted by (c). How can I most quickly jump to the start of the Headline word? Pressing w or e isn't any good, I still have to press at least three times. Not nice, almost as bad as cursor keys.

Re: Jumping to Headline in h1Headline/h1

2006-05-26 Thread Tim Chase
:help motion.txt and then you will be on your way to joining the ranks of vim experts. Some of us are just rank ;) But yes, Vim's multitude of ways for jumping around a document quickly are one of the hallmarks of why folks who learn it well seldom leave for another editor. -tim

RE: Jumping to Headline in h1Headline/h1

2006-05-26 Thread Gene Kwiecinski
Consider this: I'm editing the HTML: (c)h1Headline/h1 My cursor is denoted by (c). How can I most quickly jump to the start of the Headline word? Pressing w or e isn't any good, I still have to press at least three times. Not nice, almost as bad as cursor keys. Dunno how arbitrary your input

Re: Jumping to Headline in h1Headline/h1

2006-05-26 Thread Gerald Lai
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] lilook here!/li (with the cursor on [c]). Using fl (eff ell) in attempt to jump to the

Re: Jumping to Headline in h1Headline/h1

2006-05-26 Thread Tim Chase
Then again, some might argue that Vim is about thinking before making a calculated move.. Vim...the chess of editors :) Vim is an artistic blend of the two. Basic stuff becomes second nature so that it just comes flying out of the fingers. The more complex stuff takes a moment of thought

Re: Jumping to Headline in h1Headline/h1

2006-05-26 Thread A.J.Mechelynck
Gerald Lai wrote: [...] Then again, some might argue that Vim is about thinking before making a calculated move.. -- Gerald IMHO, Vim is about both editing files any way you might think of (and possibly thinking before you do it), and having (or possibly letting you make) simple keystrokes