Skip to content

Instantly share code, notes, and snippets.

@duament
Created July 27, 2022 15:13
Show Gist options
  • Save duament/478f27f5b989b0cd4a0c77b177503688 to your computer and use it in GitHub Desktop.
Save duament/478f27f5b989b0cd4a0c77b177503688 to your computer and use it in GitHub Desktop.
status is-interactive
or exit 0
if type -q fzf_key_bindings
fzf_key_bindings
function __my_fzf_file
fzf-file-widget
printf '\e[2F'
end
function __my_fzf_history
fzf-history-widget
printf '\e[2F'
end
function __my_fzf_cd
fzf-cd-widget
__async_prompt_fire
end
bind \ct __my_fzf_file
bind \cr __my_fzf_history
bind \ec __my_fzf_cd
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment