man fzf)I just did sudo apt-get install fzf. But how do I enable keybinding so I can do ctrl+r to bring up fzf search? I know when I git clone there is an install script. I cannot find where the install.sh file is or is there another way?
There are several files containing keybindings for different shells, find the appropriate one and source it. For example, to enable the bindings for bash:
$ dpkg -L fzf | grep bindings
/usr/share/doc/fzf/examples/fish_user_key_bindings.fish
/usr/share/doc/fzf/examples/key-bindings.bash
/usr/share/doc/fzf/examples/key-bindings.fish
/usr/share/doc/fzf/examples/key-bindings.zsh
/usr/share/fish/vendor_functions.d/fzf_key_bindings.fish
$ . /usr/share/doc/fzf/examples/key-bindings.bash
Stick . /usr/share/doc/fzf/examples/key-bindings.bash in ~/.bashrc to make it permanent.
Thank you. This make sense.
THIS
There are several files containing keybindings for different shells, find the appropriate one and source it. For example, to enable the bindings for bash:
$ dpkg -L fzf | grep bindings /usr/share/doc/fzf/examples/fish_user_key_bindings.fish /usr/share/doc/fzf/examples/key-bindings.bash /usr/share/doc/fzf/examples/key-bindings.fish /usr/share/doc/fzf/examples/key-bindings.zsh /usr/share/fish/vendor_functions.d/fzf_key_bindings.fish $ . /usr/share/doc/fzf/examples/key-bindings.bash
Stick . /usr/share/doc/fzf/examples/key-bindings.bash in ~/.bashrc to make it permanent.
ought to be in the README
Most helpful comment
THIS
ought to be in the README