Skip to content

automatic diffoff like fugitive? #1155

@lewis6991

Description

@lewis6991

Discussed in #1154

Originally posted by agriffis December 11, 2024
I've used fugitive in the past. The sequence I'm familiar with is

  • :Gvdiffsplit to diff against index
  • :bd to close the fugitive buffer when I'm done
  • :diffoff is automatic in the working buffer

Replicating this in gitsigns:

  • :Gitsigns diffthis
  • :bd to close the gitsigns index buffer
  • must :diffoff in working buffer manually

If I don't :diffoff manually in the working buffer, then :Gitsigns diffthis will refuse to start later on, presumably because it's already in diff mode.

Is there something I'm missing here, that would exit diff mode automatically? Should I be doing something other than :bd on the index buffer? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions