Skip to content

only key-bindings.bash I want use only the CTRL+R aka history search #4059

Closed Answered by LangLangBart
og900aero asked this question in Q&A
Discussion options

You must be logged in to vote

key-bindings.bash

⌃ ControlT and ⌥ OptionC can be disabled by setting their environment variable counterpart to an empty string12.

FZF_CTRL_T_COMMAND= FZF_ALT_C_COMMAND= eval "$(fzf --bash)"

completion.bash

The completion part is only triggered with the FZF_COMPLETION_TRIGGER (default: **). If you want to avoid that, set it to an unlikely string.

export FZF_COMPLETION_TRIGGER="s05Dx46VJrKXPVMRvfRe9dfzvDTQ"

Footnotes

  1. Setting up shell integration - junegunn/fzf: 🌸 A command-line fuzzy finder

  2. Make it possible to disable Ctrl+T / Alt+C / completions by elibarzilay · Pull Request #3678 · junegunn/fzf

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@og900aero
Comment options

Answer selected by og900aero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants