From 1de26dbe2b8252c40c7ffe28d238f566e7b06bf5 Mon Sep 17 00:00:00 2001 From: David Briscoe Date: Thu, 28 Sep 2023 14:59:31 -0700 Subject: [PATCH] Document opening diff split from patch References #2219. There's awesome special behaviour for buffers with diff output to view it in a split diff instead of unified diff. --- doc/fugitive.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/fugitive.txt b/doc/fugitive.txt index 7d5c10702f..efc59ad2b1 100644 --- a/doc/fugitive.txt +++ b/doc/fugitive.txt @@ -357,6 +357,8 @@ Navigation maps ~ removed if a count was given. If the line is still in the work tree version, passing a count takes you to it. + On the 'diff --git' line of a patch, this and similar + maps open a |:Gdiffsplit|. *fugitive_o* o Open the file or |fugitive-object| under the cursor in