[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 2f7bba1 3/3: Improve documentation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 2f7bba1 3/3: Improve documentation |
Date: |
Fri, 7 Feb 2020 07:38:26 -0500 (EST) |
branch: master
commit 2f7bba100cf28196001780f9544f5be584926b69
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve documentation
---
gwc/.zshrc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gwc/.zshrc b/gwc/.zshrc
index 9226f39..3226b04 100644
--- a/gwc/.zshrc
+++ b/gwc/.zshrc
@@ -51,13 +51,12 @@ export LESSCHARSET=utf-8
# Use vim keybindings.
bindkey -v
-# This seems to be set by default:
-# bindkey '\e[3~' delete-char # Del
-
# Replace the default vim keybinding, to reduce astonishment.
bindkey '^?' backward-delete-char # Backspace
-# Explicitly bind these--see:
+# This seems to be bound by default:
+# bindkey '\e[3~' delete-char # Del
+# but bind these explicitly--see:
# https://lists.nongnu.org/archive/html/lmi/2019-10/msg00032.html
bindkey '\e[H' beginning-of-line # Home
bindkey '\e[F' end-of-line # End
@@ -76,6 +75,7 @@ bindkey -M vicmd '\e[1;3C' forward-word # Alt-right
# Enable useful features that emacs mode binds by default.
# Binding '^R' here doesn't interfere with '^R' (undo) in vicmd mode.
+# To reserve '^S' for flow control, prefer '^F' to emacs mode's '^S'.
bindkey '^R' history-incremental-search-backward # emacs Ctrl-R
bindkey '^F' history-incremental-search-forward # emacs Ctrl-S
bindkey '^G' send-break # emacs Ctrl-G