lmi-commits
[Top][All Lists]
Advanced

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

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


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 697c4df: Use a more natural key-binding
Date: Thu, 24 Oct 2019 14:31:49 -0400 (EDT)

branch: master
commit 697c4dfd0403ea96a57d03850489125ff55b0831
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Use a more natural key-binding
---
 gwc/.zshrc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gwc/.zshrc b/gwc/.zshrc
index f680284..94fd576 100644
--- a/gwc/.zshrc
+++ b/gwc/.zshrc
@@ -52,9 +52,11 @@ bindkey '\e[1;5C' forward-word   # Ctrl-right
 bindkey '\e[1;3D' backward-word  # Alt-left
 bindkey '\e[1;3C' forward-word   # Alt-right
 
-# Enable useful features bound by default in emacs mode:
+# Enable useful features that emacs mode binds by default.
+# Binding '^R' here doesn't interfere with '^R' (undo) in vicmd mode.
+# There seems to be no way to bind 'Esc-Q' in vim mode.
+bindkey '^R' history-incremental-search-backward # emacs Ctrl-R
 bindkey '^F' history-incremental-search-forward  # emacs Ctrl-S
-bindkey '^A' history-incremental-search-backward # emacs Ctrl-R
 bindkey '^G' send-break                          # emacs Ctrl-G
 bindkey '^T' push-line                           # emacs Esc-Q
 



reply via email to

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