Index | Thread | Search

From:
Walter Alejandro Iglesias <wai@roquesor.com>
Subject:
Re: Improvement for vi(1) paste comand (updated diff)
To:
NilsOla Nilsson <nilsola@abc.se>
Cc:
tech@openbsd.org
Date:
Thu, 19 Feb 2026 09:19:00 +0100

Download raw body.

Thread
You showed up, brother!  This whole argument is your fault, ha ha!

Tell me, your name is Nils or Nilsola?

On Thu, Feb 19, 2026 at 07:13:57AM +0100, NilsOla Nilsson wrote:
> On Wed, Feb 18, 2026 at 08:21:07PM +0100, Walter Alejandro Iglesias wrote:
> > In addition to implementing the change in cursor mode, I thought it
> > convenient to use the same criteria in line mode.
> 
> The use cases are not necessarily the same for line
> mode as for cursor mode.

What I find useful is to get *coherence* in a implementation, since this
helps to deduce, reducing the need to memorize.

Of course, a same behaviour doesn't fit all cases, but as far as I
understand, depending of whatever you need to do after pasting the text,
it could be just as convenient the cursor to land on the first or the
last line.  Am I wrong to assume that the probability is fifty-fifty?

At least what you suggest takes in care that the change I propose cannot
be judged from one particular case.


-- 
Walter