summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index d671855..b73b079 100644
--- a/.zshrc
+++ b/.zshrc
@@ -183,6 +183,9 @@ bindkey -M vicmd 'w' forward-word
bindkey -M vicmd 'b' backward-word
bindkey -M viins '^W' backward-kill-word
+# default vi history search is strange
+bindkey -M viins '^R' history-incremental-search-backward
+
# better word matching
autoload -U select-word-style