From 5808b0a2285da3a950cda23ee61356a6c56cd6da Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 23 Dec 2013 21:48:23 +0000 Subject: [PATCH] Remove unmaintained global.kak --- rc/global.kak | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 rc/global.kak diff --git a/rc/global.kak b/rc/global.kak deleted file mode 100644 index 1915e8f1..00000000 --- a/rc/global.kak +++ /dev/null @@ -1,15 +0,0 @@ -def -shell-params \ - -shell-completion %{ global -c $1 } \ - tag %{ %sh{ - if [[ $1 != "" ]]; then - tagname=$1 - else - tagname=${kak_selection} - fi - 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//$'\n'/ }" - else - echo echo tag ${tagname} not found - fi -}}