bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Word definition in vi mode


From: Chet Ramey
Subject: Re: [Bug-readline] Word definition in vi mode
Date: Mon, 29 Feb 2016 13:49:41 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 2/29/16 11:36 AM, Carlos Pita wrote:
> Great analysis. After reading it I agree with your new vi-mode
> function solution. Thanks!

Be careful what you wish for.  This would mean that several common Unix
idioms would take much more work to delete.  For instance, it would take
many invocations of ^W to erase all of

        host.remote.domain:/path/on/remote/host

Maybe the best thing to do, since we are so close to bash-4.4/readline-7.0,
is to leave the default unchanged but allow users to bind
vi-unix-line-discard to ^W.

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]