1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-20 18:11:36 +03:00

global.kak: the 'tag' command uses 'menu -auto-single'

This commit is contained in:
Maxime Coste 2012-05-28 23:52:26 +00:00
parent 1257d432b4
commit 7451423ce3

View File

@ -6,7 +6,7 @@ def -env-params tag eval \
fi
params=$(global --result grep ${tagname} | sed 's/\([^:]*\):\([0-9]*\):\(.*\)/"\1:\2 \3" "edit \1 \2"/')
if [[ ${params} != "" ]]; then
echo "menu $params"
echo "menu -auto-single $params"
else
echo echo tag ${tagname} not found
fi`