Skip to main content
replaced http://vi.stackexchange.com/ with https://vi.stackexchange.com/
Source Link

As you said in your last commentcomment, by default fzf changes the configuration of your shell. For example, if you use bash, it will add the following line in your ~/.bashrc:

As you said in your last comment, by default fzf changes the configuration of your shell. For example, if you use bash, it will add the following line in your ~/.bashrc:

As you said in your last comment, by default fzf changes the configuration of your shell. For example, if you use bash, it will add the following line in your ~/.bashrc:

added 936 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30

I may have missed someCurrently, but currently it seemsI found 4 key bindings executing functions containing the fzf installs 4 key bindingskeyword in their name. They use the key sequences C-i (same as Tab), C-r, C-t and M-c. They are bound to the following functions:

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:

Currently, I found 4 key bindings executing functions containing the fzf keyword in their name. They use the key sequences C-i (same as Tab), C-r, C-t and M-c. They are bound to the following functions:

added 936 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30

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

Unfortunately, the key bindings may override default readline 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 readline 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).

Unfortunately, the key bindings may override default readline 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 readline 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
added 26 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading
deleted 20 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading
added 2879 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading
added 330 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading
added 41 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading
added 345 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading
added 394 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading
added 394 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading
added 79 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading
added 164 characters in body
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading
Source Link
user9433424
  • 6.2k
  • 2
  • 21
  • 30
Loading