mirror of
https://github.com/denisidoro/navi
synced 2024-11-22 03:23:05 +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 ]
|
if [ $current_process != $best_match ]
|
||||||
echo "true"
|
echo "true"
|
||||||
|
commandline -i $best_match
|
||||||
else
|
else
|
||||||
echo "false"
|
echo "false"
|
||||||
navi-widget
|
navi-widget
|
||||||
|
@ -40,8 +41,7 @@ function smart_replace
|
||||||
# replace userinput string in clibuff or left string += output
|
# replace userinput string in clibuff or left string += output
|
||||||
# commandline append repaint
|
# commandline append repaint
|
||||||
|
|
||||||
bind \cg navi-widget
|
bind \cg smart_replace
|
||||||
if bind -M insert > /dev/null 2>&1
|
if bind -M insert > /dev/null 2>&1
|
||||||
bind -M insert \cg navi-widget
|
bind -M insert \cg smart_replace
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue