Wednesday, April 3, 2013

Re: How to put search result on FIRST screen line

Kent,

Thanks but I don't want to do a second command - I want the search
results on the first screen line after the search . .

Regards,

Phil.


On 2013-04-04 06:47, Kent wrote:
> i didn't understand your text format very well but
>
> zt
>
> will move your current line (line under cursor) to screen top. which
> you may need, to build your command.
>
>
>
> On Wed, Apr 3, 2013 at 9:15 PM, Philip Rhoades <phil@pricom.com.au>
> wrote:
>> People,
>>
>> I want to flick through a large text file with repeated sections of
>> variable
>> length (but each with four heading lines) so that the the first
>> heading line
>> of each section always ends up as the first screen line - is there
>> some way
>> of doing this with the search facility?
>>
>> Thanks,
>>
>> Phil.
>> --
>> Philip Rhoades
>>
>> GPO Box 3411
>> Sydney NSW 2001
>> Australia
>> E-mail: phil@pricom.com.au
>>
>> --
>> --
>> You received this message from the "vim_use" maillist.
>> Do not top-post! Type your reply below the text you are replying to.
>> For more information, visit http://www.vim.org/maillist.php
>>
>> --- You received this message because you are subscribed to the
>> Google
>> Groups "vim_use" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an
>> email to vim_use+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
> --

--
Philip Rhoades

GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil@pricom.com.au

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: