Skip to content

feature request: View diffs in a new buffer/floating window #17

@kagbodji

Description

@kagbodji

Telescope has this neat feature where it will pop up diffs for the working tree, like so:

image

It would be awesome if your plugin had something similar, for the current buffer.

Use case: during dev, I quickly want to see the changes for the current buffer, against the current index OR against other branches. The telescope approach falls short for me in two places:

  • I have to find the current buffer among other diffs, which is not ideal
  • I don't know/think if it's possible to show a diff against anything other than current HEAD).

What I am looking for is to execute GitDiffView origin/master and get the preview pane Telescope provides as shown in the screenshot. Bonus points if this can be in a floating window. Thanks for this awesome plugin!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions