From fd50046f3a2119e861e0aee84b7737c5c0ebad32 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 19 Nov 2012 13:38:03 +0100 Subject: [PATCH] ctags.kak: center selection in window when jumping on a tag --- src/rc/ctags.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rc/ctags.kak b/src/rc/ctags.kak index 61730fea..0d2ad0e6 100644 --- a/src/rc/ctags.kak +++ b/src/rc/ctags.kak @@ -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} } catch %{ echo %{unable to find tag} } } "; + /([^\t]+)\t([^\t]+)\t\/\^(.*)\$\// and print "%{$2 [$3]} %{try %{ edit %{$2}; exec %{/\\Q$3} } catch %{ echo %{unable to find tag} } } "; /([^\t]+)\t([^\t]+)\t(\d+)/ and print "%{$2:$3} %{edit %{$2} %{$3}}"; ')