1
1
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:
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 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`