On 1/2/14 8:35 PM, Marc Chantreux wrote:
> hello,
> 
> I use GNU Readline 6.2 provided by ubuntu and the following is my
> current .inputrc.
> 
> when i'm using bash, i can edit the current line typing v in vi-command
> mode but it seems this is a bash only feature. is it right? can it be
> fixed?

Yes, this is a function that bash adds to readline using the function API.
It executes the line(s) internally and adds the command(s) to the history
list, as if they had been typed directly, and accesses the history list if
given a numeric argument.  It's not general enough to make part of readline.

Other applications could add something similar, but I don't know that any
have.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    [email protected]    http://cnswww.cns.cwru.edu/~chet/

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to