summaryrefslogtreecommitdiffstats
path: root/shell/key-bindings.fish
diff options
context:
space:
mode:
Diffstat (limited to 'shell/key-bindings.fish')
-rw-r--r--shell/key-bindings.fish6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish
index 36beee18..b86a4ef3 100644
--- a/shell/key-bindings.fish
+++ b/shell/key-bindings.fish
@@ -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