[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 5d11d32 3/5: Bind some useful emacs-mode feat
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 5d11d32 3/5: Bind some useful emacs-mode features in vim mode |
Date: |
Wed, 2 Oct 2019 17:34:25 -0400 (EDT) |
branch: master
commit 5d11d321d55577ef42d43f47bcb10baf260d3900
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Bind some useful emacs-mode features in vim mode
---
gwc/.zshrc | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gwc/.zshrc b/gwc/.zshrc
index 051e5ad..f680284 100644
--- a/gwc/.zshrc
+++ b/gwc/.zshrc
@@ -51,9 +51,12 @@ bindkey '\e[1;5D' backward-word # Ctrl-left
bindkey '\e[1;5C' forward-word # Ctrl-right
bindkey '\e[1;3D' backward-word # Alt-left
bindkey '\e[1;3C' forward-word # Alt-right
-# By default, zsh unfortunately binds ^S for this purpose;
-# use ^T instead, leaving ^S for flow control.
-bindkey '^T' history-incremental-search-forward
+
+# Enable useful features bound by default in emacs mode:
+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
prompt='%d[%?]%(!.#.$)'
- [lmi-commits] [lmi] master updated (4fa3b0b -> 0221ad7), Greg Chicares, 2019/10/02
- [lmi-commits] [lmi] master f41cde8 2/5: Regularize bindkey commands, Greg Chicares, 2019/10/02
- [lmi-commits] [lmi] master b02f0fc 1/5: Make the X clipboard available to root, for vim only, Greg Chicares, 2019/10/02
- [lmi-commits] [lmi] master b559b1a 4/5: Designate release candidate 20191002T1344Z, Greg Chicares, 2019/10/02
- [lmi-commits] [lmi] master 5d11d32 3/5: Bind some useful emacs-mode features in vim mode,
Greg Chicares <=
- [lmi-commits] [lmi] master 0221ad7 5/5: Add a script to install a centos chroot on a debian host, Greg Chicares, 2019/10/02