diff --git a/src/rc/ctags.kak b/src/rc/ctags.kak index e3923a88..85ec865b 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$3zc} } catch %{ echo %{unable to find tag} } } "; + /([^\t]+)\t([^\t]+)\t\/\^([^{}]*).*\$\// and print "%{$2 [$3]} %{try %{ edit %{$2}; exec %{/\\Q$3vc} } catch %{ echo %{unable to find tag} } } "; /([^\t]+)\t([^\t]+)\t(\d+)/ and print "%{$2:$3} %{edit %{$2} %{$3}}"; ')