mirror of
https://github.com/denisidoro/navi
synced 2024-11-24 20:43:06 +00:00
keybindings
\cg smart_replace
This commit is contained in:
parent
44d8dfc01d
commit
d0b8b09f94
1 changed files with 3 additions and 3 deletions
|
@ -24,6 +24,7 @@ function smart_replace
|
|||
|
||||
if [ $current_process != $best_match ]
|
||||
echo "true"
|
||||
commandline -i $best_match
|
||||
else
|
||||
echo "false"
|
||||
navi-widget
|
||||
|
@ -40,8 +41,7 @@ function smart_replace
|
|||
# replace userinput string in clibuff or left string += output
|
||||
# commandline append repaint
|
||||
|
||||
bind \cg navi-widget
|
||||
bind \cg smart_replace
|
||||
if bind -M insert > /dev/null 2>&1
|
||||
bind -M insert \cg navi-widget
|
||||
|
||||
bind -M insert \cg smart_replace
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue