[Top][All Lists]

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

Re: [Bug-readline] vi-mode: allow [count] on i/I/a/A commands

From: Chet Ramey
Subject: Re: [Bug-readline] vi-mode: allow [count] on i/I/a/A commands
Date: Mon, 1 Oct 2018 09:10:03 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 10/1/18 1:55 AM, Richard Todd wrote:
> Hi all, this is the last patch I intend to submit at present, as
> vi-mode now works for my purposes.  If a `vi-extensions` option opens
> up, I may code up some vim features and submit them.
> POSIX vi lets you say:
>     5ihello <esc> ==> hello hello hello hello hello  
> ... and similar for I, a, and A commands.  Giving the `.' command
> after this will get me 5 more hello's.  

`i' isn't listed as one of the commands that can take a [count] in the
POSIX description of shell command line editing. This sounds like another
candidate for an extended vi mode.

``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/

reply via email to

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