bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How should 'vi-yank-pop' be used?


From: Chet Ramey
Subject: Re: How should 'vi-yank-pop' be used?
Date: Mon, 29 Aug 2022 10:54:43 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.1.2

On 8/27/22 2:38 PM, Matteo Paolini wrote:

Bash Version: 5.1
Patch Level: 16
Release Status: release

Description:
I recently discovered Readline's 'yank-pop' and 'vi-yank-pop' commands.
 From what I understand, 'yank-pop' is supposed to cycle through Bash's
internal kill-ring
after yanking the most recent killed text.
The command works as expected in Emacs mode, but trying to use its
counterpart in vi mode seems to just return an error (the bell sound
is played).

Thanks for the report. It looks like this behavior (which happens only at
the beginning of a line) has been around since the original code was
contributed in 2011.

I'll look at it after bash-5.2/readline-8.2 is released.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]