mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-25 22:27:41 +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 \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…
Reference in New Issue
Block a user