[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: |
Vadim Zeitlin |
Subject: |
Re: [lmi] [lmi-commits] master 697c4df: Use a more natural key-binding |
Date: |
Thu, 24 Oct 2019 23:53:52 +0200 |
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> Use a more natural key-binding
GC> ---
GC> gwc/.zshrc | 6 ++++--
GC> 1 file changed, 4 insertions(+), 2 deletions(-)
GC>
GC> diff --git a/gwc/.zshrc b/gwc/.zshrc
GC> index f680284..94fd576 100644
GC> --- a/gwc/.zshrc
GC> +++ b/gwc/.zshrc
GC> @@ -52,9 +52,11 @@ bindkey '\e[1;5C' forward-word # Ctrl-right
GC> bindkey '\e[1;3D' backward-word # Alt-left
GC> bindkey '\e[1;3C' forward-word # Alt-right
GC>
GC> -# Enable useful features bound by default in emacs mode:
GC> +# Enable useful features that emacs mode binds by default.
GC> +# Binding '^R' here doesn't interfere with '^R' (undo) in vicmd mode.
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.
Regards,
VZ
pgpeI3XjyNQck.pgp
Description: PGP signature
- Re: [lmi] [lmi-commits] master 697c4df: Use a more natural key-binding,
Vadim Zeitlin <=