vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Getting search result at top of screen - possible?


From: Eur Ing Chris Green
Subject: Re: [vile] Getting search result at top of screen - possible?
Date: Wed, 14 Feb 2007 15:58:01 +0000
User-agent: Mutt/1.4.1i

On Wed, Feb 14, 2007 at 10:40:57AM -0500, Thomas Dickey wrote:
> On Wed, Feb 14, 2007 at 03:29:16PM +0000, Eur Ing Chris Green wrote:
> > Is it possible to get the result of a search in vile to appear at the
> > top of the screen rather than in the middle?
> > 
> > I am using vile as a file viewer looking for the start of the block
> > that I want to see by calling it as:-
> > 
> >     vile -s <string> <file>
> > 
> > but this means I have to scroll the page up a few lines to see as much
> > of the 'useful' text as I can with the <string> at the top.
> 
> You could write a macro - since last fall's changes, "-s" is just a
> wrapper for one of vile's built-in commands.  Then inside the macro,
> you can manipulate the view as you want.
> 
That sounds like a reasonable way to do it, what command is "-s" a
wrapper for - or have I got hold of the wrong end of the stick?

-- 
Chris Green




reply via email to

[Prev in Thread] Current Thread [Next in Thread]