ctags.kak: <a-c> is now zc

This commit is contained in:
Maxime Coste 2013-04-11 21:17:17 +02:00
parent 2468a119fe
commit 3f5dc9e1cb

View File

@ -13,7 +13,7 @@ def -shell-params \
echo "echo tag not found ${tagname}"
else
menuparam=$(readtags ${tagname} | perl -i -ne '
/([^\t]+)\t([^\t]+)\t\/\^([^{}]*).*\$\// and print "%{$2 [$3]} %{try %{ edit %{$2}; exec %{/\\Q$3<ret><a-c>} } catch %{ echo %{unable to find tag} } } ";
/([^\t]+)\t([^\t]+)\t\/\^([^{}]*).*\$\// and print "%{$2 [$3]} %{try %{ edit %{$2}; exec %{/\\Q$3<ret>zc} } catch %{ echo %{unable to find tag} } } ";
/([^\t]+)\t([^\t]+)\t(\d+)/ and print "%{$2:$3} %{edit %{$2} %{$3}}";
')