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:
Junegunn Choi 2015-04-26 02:17:46 +09:00
commit c8f208b96b

View File

@ -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