Index | Thread | Search

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

Download raw body.

Thread
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.

Kind regards,

Job