lmi
[Top][All Lists]
Advanced

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

Re: [lmi] [lmi-commits] master 697c4df: Use a more natural key-binding


From: Greg Chicares
Subject: Re: [lmi] [lmi-commits] master 697c4df: Use a more natural key-binding
Date: Fri, 25 Oct 2019 19:22:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 2019-10-24 21:53, Vadim Zeitlin wrote:
> On Thu, 24 Oct 2019 14:31:49 -0400 (EDT) Greg Chicares <address@hidden> wrote:
> 
> GC> branch: master
> GC> commit 697c4dfd0403ea96a57d03850489125ff55b0831
> GC> Author: Gregory W. Chicares <address@hidden>
> GC> Commit: Gregory W. Chicares <address@hidden>
> GC> 
> GC> +# There seems to be no way to bind 'Esc-Q' in vim mode.
> 
>  I'm not sure why do you say this, as
> 
>       bindkey '^[q' clear-screen
> 
> works for me and I can clear screen using this combination if I press them
> quickly enough together. Of course, if I press Esc and wait too long, ZLE
> just switches to vicmd keymap instead, per the default binding of '^[', but
> this is not a problem of binding.

Thanks for pointing this out. When I switched zsh to vi mode, I
really missed good old Esc-Q. I had thought that vi mode grabbed
Esc (for switching from viins to vicmd) in such a way that Esc-Q
couldn't be made to work, but your example above showed me a way
to make it work perfectly. And it's much better to stick with
default key mappings like Esc-Q than to invent new alternatives.



reply via email to

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