mirror of
https://github.com/denisidoro/navi
synced 2024-11-25 04:50:21 +00:00
Only bind insert mode when not using default keybindings
This commit is contained in:
parent
0160a44b3e
commit
53c1ddf42f
1 changed files with 5 additions and 2 deletions
|
@ -22,5 +22,8 @@ function _navi_smart_replace
|
||||||
commandline -f repaint
|
commandline -f repaint
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if test $fish_key_bindings = fish_default_key_bindings
|
||||||
bind \cg _navi_smart_replace
|
bind \cg _navi_smart_replace
|
||||||
|
else
|
||||||
bind -M insert \cg _navi_smart_replace
|
bind -M insert \cg _navi_smart_replace
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in a new issue