Re: ksh: allow editing empty line with 'v' in vi-mode

Johannes Thyssen Tishman <[email protected]> Fri, 31 Jul 2026 09:44:17 +0000
Newsgroups gmane.os.openbsd.tech
Message-ID <[email protected]>
2026-07-31T09:10:13+0000 Johannes Thyssen Tishman <[email protected]>:
> 2026-07-30T22:55:18+0200 Uwe Werler <[email protected]>:
> > and here's another one I once proposed:
> > 
> > https://marc.info/?l=openbsd-tech&m=166681423915767&w=2
> 
> I think it makes sense not to save empty lines in history, so ok jtt@
> for the diff in the above archived thread. Given that there were no
> objections, I can commit if kn@ is still ok with it.

Actually I take this back. Allowing empty commands in history is
necessary to use ^[v with empty lines.