[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] (arg: x) prompt shifts the line
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] (arg: x) prompt shifts the line |
Date: |
Mon, 1 Oct 2018 09:42:56 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 9/30/18 3:19 AM, Richard Todd wrote:
> Especially when using vi-mode, I use numeric arguments a lot, and it's
> jarring to see the line I'm trying to work on shift around as I type:
>
> /usr/local/bin $ line I'm working on
> (arg: 1) line I'm working on
> (arg: 10) line I'm working on
> /usr/local/bin $ line I'm working on
>
> If I type something like '10l' really fast, the line jumping arround
> just looks wrong.
[...]
>
> Maybe a silent setting for vi-mode is would be my favorite, but I thought
> I'd throw this out in case it was interesting.
I am leaning towards adding a silent count mode for vi-mode in the next
release (post-8.0) of bash/readline, controlled by an option. I think it's
too late for this cycle, and it's decidedly not backwards-compatible
enough to be added as the default.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/