diff --git a/rc/tools/git.kak b/rc/tools/git.kak index b98974d15..828d3c152 100644 --- a/rc/tools/git.kak +++ b/rc/tools/git.kak @@ -296,7 +296,9 @@ define-command -params 1.. \ echo 'echo -markup {Information}Press to jump to blamed commit' ( trap - INT QUIT - cd_bufdir + if [ -z "${kak_opt_git_blob}" ]; then + cd_bufdir + fi printf %s "evaluate-commands -client '$kak_client' %{ set-option buffer=$kak_bufname git_blame_flags '$kak_timestamp' set-option buffer=$kak_bufname git_blame_index '$kak_timestamp'