[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Getting search result at top of screen - possible?
From: |
Thomas Dickey |
Subject: |
Re: [vile] Getting search result at top of screen - possible? |
Date: |
Wed, 14 Feb 2007 10:40:57 -0500 |
User-agent: |
Mutt/1.3.27i |
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.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net