help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Why is c-w not bound to kill-region by default


From: Chet Ramey
Subject: Re: [Help-bash] Why is c-w not bound to kill-region by default
Date: Mon, 10 Jun 2019 08:53:46 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 6/8/19 8:08 AM, Thomas Meyer wrote:
> Hi,
> 
> I tried to figure this out in the git history but the c-w binding seems
> to be really old for unix-word-rubout.
> 
> Wouldn't a default binding to kill-region make more sense in regards to
> emacs default bindings? Or are there other reasons for having this default?

C-w is the historical Unix stty binding for `werase' (delete the previous
word). The least surprising binding is the one users are accustomed to.
You won't find anything about it in git because the default binding long
predates git -- it was there back in 1988-1989.


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