Skip to content

Conversation

simonecarriero
Copy link

Resolves #14291

Adds the show-diff-change command to show the previous version of the git hunk under the cursor.

show-diff-change.mov

@Axlefublr
Copy link
Contributor

showing it in a new scratch buffer would make it MONSTROUSLY more useful! :3

aliases: &[],
doc: "Yank the diff change at the current position.",
fun: yank_hunk_before,
completer: CommandCompleter::none(),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
completer: CommandCompleter::none(),
completer: CommandCompleter::all(completers::register),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add command to show the previous version of the hunk
3 participants