mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-26 00:28:29 +00:00
Support for vi insert mode in upcoming fish 2.2.0
This commit is contained in:
parent
1c65139888
commit
2e339e49b8
@ -76,5 +76,11 @@ function fzf_key_bindings
|
|||||||
bind \ct '__fzf_ctrl_t'
|
bind \ct '__fzf_ctrl_t'
|
||||||
bind \cr '__fzf_ctrl_r'
|
bind \cr '__fzf_ctrl_r'
|
||||||
bind \ec '__fzf_alt_c'
|
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
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user