diff --git a/.bashrc b/.bashrc index fd4a782..07adedf 100644 --- a/.bashrc +++ b/.bashrc @@ -232,7 +232,9 @@ fi source ~/.fzf.bash source /usr/share/doc/fzf/examples/key-bindings.bash # ─< Use fzf for completion >───────────────────────────────────────────────────────────── -# Use fzf for enhanced completion +bind -x '"\t": fzf-completion' +bind -x '"\C-i": fzf-completion' +} _fzf_comprun() { local command=$1 shift @@ -244,11 +246,6 @@ _fzf_comprun() { esac } -# Use fzf-completion with TAB -bind -x '"\t": fzf-completion' -bind -x '"\C-i": fzf-completion' -} - # ─< t stands for trash(-cli) >─────────────────────────────────────────────────────────────── _trash() { if command_exists trash; then