mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-21 02:21:32 +03:00
global.kak: the 'tag' command uses 'menu -auto-single'
This commit is contained in:
parent
1257d432b4
commit
7451423ce3
@ -6,7 +6,7 @@ def -env-params tag eval \
|
|||||||
fi
|
fi
|
||||||
params=$(global --result grep ${tagname} | sed 's/\([^:]*\):\([0-9]*\):\(.*\)/"\1:\2 \3" "edit \1 \2"/')
|
params=$(global --result grep ${tagname} | sed 's/\([^:]*\):\([0-9]*\):\(.*\)/"\1:\2 \3" "edit \1 \2"/')
|
||||||
if [[ ${params} != "" ]]; then
|
if [[ ${params} != "" ]]; then
|
||||||
echo "menu $params"
|
echo "menu -auto-single $params"
|
||||||
else
|
else
|
||||||
echo echo tag ${tagname} not found
|
echo echo tag ${tagname} not found
|
||||||
fi`
|
fi`
|
||||||
|
Loading…
Reference in New Issue
Block a user