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

Swaps visual position of buffers #28

Open
mvz opened this issue Nov 10, 2020 · 1 comment
Open

Swaps visual position of buffers #28

mvz opened this issue Nov 10, 2020 · 1 comment

Comments

@mvz
Copy link

mvz commented Nov 10, 2020

I just had buffer A on the left of my emacs window, and buffer B on the right. Starting from buffer B I executed vdiff-buffers. It correctly guessed the first buffer to use was B, and the second A. The result was that B was on the left and A on the right.

@justbur
Copy link
Owner

justbur commented Nov 13, 2020

This is expected. vdiff will use your current buffer as the default choice for the left-hand side buffer and whatever it finds in the next window (according to next-window) as a default choice for the right-hand window. You can certainly override these defaults.

Are you suggesting that it should work differently in this case? I suppose I could detect a split window layout and assume that those are the buffers you want in that arrangement, but that doesn't seem foolproof either.

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

2 participants