mirror of
https://github.com/junegunn/fzf
synced 2024-10-30 09:20:14 +00:00
Merge pull request #171 from oschrenk/vi-insert-mode-key-bindings-fish
Support for vi insert mode in upcoming fish 2.2.0
This commit is contained in:
commit
c8f208b96b
@ -57,5 +57,11 @@ function fzf_key_bindings
|
||||
bind \ct '__fzf_ctrl_t'
|
||||
bind \cr '__fzf_ctrl_r'
|
||||
bind \ec '__fzf_alt_c'
|
||||
|
||||
if bind -M insert > /dev/null 2>&1
|
||||
bind -M insert \ct '__fzf_ctrl_t'
|
||||
bind -M insert \cr '__fzf_ctrl_r'
|
||||
bind -M insert \ec '__fzf_alt_c'
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user