[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Re: Jump within function
From:       "Tim Chase" <gumnos () hotmail ! com>
Date:       2002-10-31 22:00:27
[Download RAW message or body]

> The most straightforward (but much too often overlooked, sadly) way to
> do this is just putting what you want as an Ex line address:
>
> 0;/^>/

for the lazy ones in the crowd like myself, it seems to work fine without
the trailing slash.  that one extra character can be a drag ;-)  This even
has the nice advantage that it catches a > as the first character in a
file.  Using gg/^> won't find that.  (okay, so what you really need to do
for that one is to have search-wrapping on, and G$/^>  to find the first
one in the file)

-tim





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic