m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

Support for vi insert mode in upcoming fish 2.2.0

This commit is contained in:
Oliver Schrenk
2015-03-30 23:10:47 +02:00
parent 1c65139888
commit 2e339e49b8

View File

@@ -76,5 +76,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