mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-16 07:13:52 -05:00
Change :Git --paginate from :terminal to temp buffer
The --paginate option to Git forces it to use $PAGER rather than its own configuration, so it makes perfect sense for Fugitive to take on the role of the pager. This also removes the same behavior for --no-pager, allowing the command to run with :! instead. I really don't like sudden backwards incompatible changes like this, but the old behavior was based on a bad understanding of how these options work, and I'd rather rip the band-aid off sooner rather than later.
This commit is contained in:
@@ -20,10 +20,9 @@ that are part of Git repositories).
|
||||
:G {args} but chdir to the repository tree first. For some
|
||||
subcommands, a Fugitive command is called instead.
|
||||
|
||||
*:Git!*
|
||||
:Git! {args} Like |:Git|, but capture the output into a temp file,
|
||||
:Git --no-pager {args} and |:split| that temp file. Use :0Git to
|
||||
:Git -P {args} |:edit| the temp file instead. A temp file is always
|
||||
:Git --paginate {args} and |:split| that temp file. Use :0Git to
|
||||
:Git -p {args} |:edit| the temp file instead. A temp file is always
|
||||
used for diff and log commands.
|
||||
|
||||
*:Gstatus*
|
||||
|
||||
Reference in New Issue
Block a user