From 5648b58195c97ba287ea64ce87b2a80b98a41f61 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Tue, 16 Nov 2021 12:51:26 -0800 Subject: [PATCH] make alt-c work for fzf --- runcoms/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runcoms/zshrc b/runcoms/zshrc index 22de256..6c18801 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -64,6 +64,9 @@ if [ $commands[fzf] ]; then export FZF_ALT_C_COMMAND="find . -type d" # alias fzf=fzf-tmux + # https://github.com/junegunn/fzf/issues/164#issuecomment-581837757 + bindkey "รง" fzf-cd-widget + z() { [ $# -gt 0 ] && fasd_cd -d "$*" && return local dir