Unfortunately, the key bindings may override default readlinereadline
functions.
For example, fzf
binds the function fzf-file-widget
to C-t
. This key is usually used by readline to execute the transpose-chars
function.
I'm not sure, but I think it should display most or all the readlinereadline
key bindings. If you're looking for the name of the readline function bound to the C-t
key, in the Vim buffer, you would search \\C-t
. And if you were looking for the one bound to M-c
(meta / alt key), you would search \\ec
(\e
stands for the escape key and it seems M-c
produces the same keycodes as escape + c
).
You can do the same thing in zsh
by looking at the output of the bindkey
command. But this time, ^[
stands for the meta/alt modifier key, while a single caret (^
) character stands for the control key.
I may have missed some, but currently it seems fzf
installs 4 key bindings. They use the key sequences C-i
(same as Tab
), C-r
, C-t
and M-c
. They are bound to the following functions:
C-i fzf-completion
C-r fzf-history-widget
C-t fzf-file-widget
M-c fzf-cd-widget
On my system, originally, readline
(the library used by bash
to edit the command line) bound those keys to these functions:
C-i complete
C-r reverse-search-history
C-t transpose-chars
M-c capitalize-word
And zle
(the line editor used by zsh
), bound them to:
C-i expand-or-complete
C-r history-incremental-search-backward
C-t transpose-chars
M-c capitalize-word