From 2f30b4682f7f9901de91d1103481016912934131 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Fri, 3 Dec 2021 19:06:28 +0100 Subject: [PATCH] chore(zsh): add bindkey settings --- zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index a7c50d2..c3e5764 100644 --- a/zshrc +++ b/zshrc @@ -57,8 +57,12 @@ COMPLETION_WAITING_DOTS="true" # Red dots while waiting for completion # Autosuggest Highlighting ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=7,bg=bold,underline" -# Vim mode +# Bindkey bindkey -v +bindkey -M viins '^r' fzf-history-widget # (r)everse history search +bindkey -M viins '^x^f' fzf-file-widget # (f)ile +bindkey -M viins '^x^j' fzf-cd-widget # (j)ump + export KEYTIMEOUT=1 export GIT_EDITOR=vim