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

Ability to quickly switch both panels in 'compare' mode #26

Open
errael opened this issue Aug 22, 2024 · 0 comments
Open

Ability to quickly switch both panels in 'compare' mode #26

errael opened this issue Aug 22, 2024 · 0 comments

Comments

@errael
Copy link
Owner

errael commented Aug 22, 2024

(This is copied from sjl/splice.vim#32)

More often I find myself switching between "one <-> result" and and "original <-> two". I am copying the changes from "Original <-> two" into "one <-> result". The diff between "original <-> result" is not very helpful as it shows too many differences. I thought it would be nice to have simple way of switching the two views.

At the moment I am using these two command lines to achieve that:

:exe 2 . "wincmd w" | call splice#SpliceOriginal() | :exe 3 . "wincmd w" | call splice#SpliceTwo()

and

:exe 2 . "wincmd w" | call splice#SpliceOne() | :exe 3 . "wincmd w" | call splice#SpliceResult()
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

No branches or pull requests

1 participant