Only bind insert mode when not using default keybindings

This commit is contained in:
Kid 2022-01-16 19:06:09 +08:00
parent 0160a44b3e
commit 53c1ddf42f

View file

@ -22,5 +22,8 @@ function _navi_smart_replace
commandline -f repaint commandline -f repaint
end end
bind \cg _navi_smart_replace if test $fish_key_bindings = fish_default_key_bindings
bind -M insert \cg _navi_smart_replace bind \cg _navi_smart_replace
else
bind -M insert \cg _navi_smart_replace
end