Skip to content

Layouts not working #252

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

Closed
aleksandargosevski opened this issue Nov 17, 2022 · 3 comments
Closed

Layouts not working #252

aleksandargosevski opened this issue Nov 17, 2022 · 3 comments
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@aleksandargosevski
Copy link

Hi,

I'm maybe doing something wrong, but I can't switch to any layout except for diff2_vertical and diff2_horizontal.
When I try to override config, it show's an error that only those 2 are available. I also tried cycling via g but it cycles just those 2?

Great plugin though, good job!

@gegoune
Copy link

gegoune commented Nov 17, 2022

Make sure you are changing correct x key in view table, there are three of four different ones, have a look at :h diffview-config-view.x.layout to see which layouts are available for which views.

@aleksandargosevski
Copy link
Author

Ah, thanks. I read that, but not everything. :)

Is it possible to implement new layout where you would see everything in one column? Something like this:

Screenshot 2022-11-17 at 20 54 15

@sindrets
Copy link
Owner

@goschevski That's an inline diff. This plugin uses the strengths of (n)vim's builtin diff mode. The builtin diff mode does not support this, and thus it is not supported here.

Inline diffing is already being tracked as a feature request in #39. However, I'm not prioritizing it. See that thread for some alternatives.

Closing in favor of the mentioned thread.

@sindrets sindrets closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2022
@sindrets sindrets added duplicate This issue or pull request already exists question Further information is requested labels Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants