commit 6bf5e7a0b7f04e4df88fd712eba2fc1ec98d802e
parent 0e25068378e91e6d95d377ae2937a5c7c6b432f2
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 22 Sep 2017 17:14:14 -0700
Add ctrl-R incremental reverse search binding
Accept that not all my friends and co-workers use vi mode and that this
is nicer than command-mode + '/' anyway.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.zshrc b/.zshrc
@@ -24,6 +24,7 @@ setopt EXTENDED_GLOB
# vi-mode
bindkey -v
bindkey -M vicmd 'q' push-line
+bindkey '^R' history-incremental-search-backward
# completion
zstyle :compinstall filename "$HOME/.zshrc"