From 1b46638e39f34ca3cfffdde235db69cd8150d284 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 24 Nov 2023 20:46:20 +0100 Subject: code-review-difftool: Focus new changes buffer instead of old version Previously, the focused window in each tab was the Fugitive window that contained the old version of the file. It's nicer to have the new version focused by default, because that allows you to make changes to the local source code. --- code-review-difftool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code-review-difftool b/code-review-difftool index aabce9a..44822b5 100755 --- a/code-review-difftool +++ b/code-review-difftool @@ -29,5 +29,5 @@ review_base_without_dots="${review_base%%?(..|...)}" vim \ -n \ - -c "tabdo Gvdiffsplit $review_base_without_dots" \ + -c "tabdo vertical Gdiffsplit! $review_base_without_dots" \ -p $(code-review changed-files) -- cgit v1.2.3