Index | Thread | Search

From:
Otto Moerbeek <otto@drijf.net>
Subject:
Re: usr.bin/vi: add showfilename option
To:
Job Snijders <job@openbsd.org>
Cc:
tech@openbsd.org
Date:
Mon, 12 Feb 2024 16:50:06 +0100

Download raw body.

Thread
On Mon, Feb 12, 2024 at 03:42:54PM +0000, Job Snijders wrote:

> On Mon, Feb 12, 2024 at 04:41:02PM +0100, Otto Moerbeek wrote:
> > On Mon, Feb 12, 2024 at 03:33:10PM +0000, Job Snijders wrote:
> > > I usually have a few instances of vi open next to each other (using a
> > > window manager), and found pressing control-G all the time to understand
> > > 'what file is in what window' to be tedious. Instead, offer a configurable
> > > option (default off) to display the file name in the lower left corner.
> > > 
> > > OK? Thoughts?
> > 
> > :set windowname displays the filename in the titlebar of an xterm.
> > 
> > Would that work for you?
> 
> It doesn't, don't have a titlebar.
Poor man :)

I have no issues with this, but please make sure it works fine in
combination with things like :set showmode and :set ruler.

	-Otto