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: J Alan Brogan
Subject: Re: [Bug-readline] Readline starts vi editting mode in insert mode
Date: Mon, 13 Oct 2014 14:34:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2

Chet,

Understand your reasoning perfectly.

Thanks for the extra starting point. If I get anything working I'll put in on GitHub.

--
Alan


On 13/10/14 14:14, Chet Ramey wrote:
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 information contained in this e-mail and in any attachments is confidential 
and is designated solely for the attention of the intended recipient(s). If you 
are not an intended recipient, you must not use, disclose, copy, distribute or 
retain this e-mail or any part thereof. If you have received this e-mail in 
error, please notify the sender by return e-mail and delete all copies of this 
e-mail from your computer system(s). Please direct any additional queries to: 
address@hidden Thank You. Silicon and Software Systems Limited (S3 Group). 
Registered in Ireland no. 378073. Registered Office: South County Business 
Park, Leopardstown, Dublin 18.




reply via email to

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