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 <[email protected]> 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: [email protected] > > -- > -- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
