summaryrefslogtreecommitdiffstats
path: root/zshinput
diff options
context:
space:
mode:
Diffstat (limited to 'zshinput')
-rw-r--r--zshinput6
1 files changed, 4 insertions, 2 deletions
diff --git a/zshinput b/zshinput
index 51cae68..94f5558 100644
--- a/zshinput
+++ b/zshinput
@@ -1,5 +1,7 @@
bindkey -v
+source ~/.sh/fzf/shell/key-bindings.zsh
+
autoload history-search-end
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end
@@ -8,8 +10,8 @@ bindkey "^[[B" history-beginning-search-forward-end
bindkey "^[OA" history-beginning-search-backward-end
bindkey "^[OB" history-beginning-search-forward-end
-bindkey -M viins '^R' history-incremental-search-backward
-bindkey -M vicmd '^R' history-incremental-search-backward
+bindkey -M viins '^R' fzf-history-widget
+bindkey -M vicmd '^R' fzf-history-widget
bindkey -M vicmd '/' history-incremental-search-backward
bindkey -M vicmd '?' history-incremental-search-forward
bindkey -rM viins '^[/'