diff --git a/src/rc/global.kak b/src/rc/global.kak index b96ff314..4f8da202 100644 --- a/src/rc/global.kak +++ b/src/rc/global.kak @@ -6,7 +6,7 @@ def -env-params \ else tagname=${kak_selection} fi - params=$(global --result grep ${tagname} | sed "s/\([^:]*\):\([0-9]*\):\(.*\)/'\1:\2 \3' 'edit \1 \2; try exec \"20k41Xs\3\" catch echo \"could not find [\3] near \1:\2\"; exec \2g'/") + params=$(global --result grep ${tagname} | sed "s/\([^:]*\):\([0-9]*\):\(.*\)/'\1:\2 \3' 'edit \1 \2; try exec \"20k41Xs\\\\Q\3\" catch echo \"could not find [\3] near \1:\2\"; exec \2g'/") if [[ ${params} != "" ]]; then echo "menu -auto-single $params" else