bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Readline starts vi editting mode in insert mode


From: Chet Ramey
Subject: Re: [Bug-readline] Readline starts vi editting mode in insert mode
Date: Mon, 13 Oct 2014 09:14:07 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 10/10/14, 11:17 AM, J Alan Brogan wrote:
> Whereas vi and vim both start in "Normal" mode.

The most important thing is that readline exists so people can enter
command lines.

Users expect to be able to immediately enter a command at a shell prompt.
I don't think that varying that much from user expectations is useful.
If you want to start in command mode, you can always type ESC as the first
thing.

If you want to play around with it, you might start looking at
rl_set_keymap_from_edit_mode() as well as the line in readline.c you
identified, but this is not a candidate for inclusion in readline.

Chet

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



reply via email to

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