Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add [a]/[b] to toggle sides in the inline diff #1830

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Conversation

kaste
Copy link
Collaborator

@kaste kaste commented Dec 8, 2023

Typically diffs show two sides, a and b, in red and green. For the inline diff add shortcuts to hide and show one of the sides. This comes in handy for complicated diffs to quickly switch between the previous and the next state.

inline.diff.a-b.switch.mp4

Typically diffs show two sides, a and b, in red and green.  For the
inline diff add shortcuts to hide and show one of the sides.  This
comes in handy for complicated diffs to quickly switch between the
previous and the next state.
@kaste kaste enabled auto-merge December 8, 2023 22:49
@kaste kaste merged commit c242315 into master Dec 8, 2023
8 checks passed
@kaste kaste deleted the toggle-sides branch December 8, 2023 22:51
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.

1 participant