From: "Andy Bradford" Subject: Re: ksh: allow editing empty line with 'v' in vi-mode To: "Johannes Thyssen Tishman" , tech@openbsd.org Date: 30 Jul 2026 16:42:22 -0600 Thus said Johannes Thyssen Tishman on Thu, 30 Jul 2026 18:21:29 -0000: > - if (es->linelen == 0 && argcnt == 0) > - return -1; These lines were last changed to correct a bug: http://cvsweb.openbsd.org/log/src/bin/ksh/vi.c,v?sort=File#rev1.19 I'm not sure what that bug was, but I'm not sure removing this is an improvement. Also, you don't have to type nonsense to get into vi-mode, you just type a space and press esc-v. Doing so enters vi-mode with an empty buffer. Andy