]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/commitdiff
fix: use better history search in case fzf cannot be found
authorHendrik Jäger <gitcommit@henk.geekmail.org>
Wed, 25 Jan 2023 15:37:09 +0000 (16:37 +0100)
committerHendrik Jäger <gitcommit@henk.geekmail.org>
Wed, 25 Jan 2023 15:37:09 +0000 (16:37 +0100)
.zshrc

diff --git a/.zshrc b/.zshrc
index d6718556af6cc2223dd4435a4507b3a96a28a62e..b73b079156c269e143c9d9c960424a8c64296d05 100644 (file)
--- 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