summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-01-25 16:37:09 +0100
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-01-25 16:37:09 +0100
commit2a5bc7c9a469b3242b43dd013ae718025b5ece93 (patch)
tree4dbb4835676f7871c8912df5e6d01a080bfc6cc9
parent237de54de0a1deb1520bc706a3ea37e211b74601 (diff)
fix: use better history search in case fzf cannot be found
-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