-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Horizontal split of half-screen mode #1962
Comments
+1 wrapping long lines is really annoying. |
+1 and hoping for an update on this, thanks! |
I think it was very well described in #2364 how I would prefer to have the patch / commit details shown below the commit graph. Not only are the commit messages often clipped when having the current vertical split, but making it a horizontal split would also make it easier to view side-by-side diffs in the patch details. |
Here's a PR if you want to test it: #3133 |
This looks great! Thank you! And thank you for explaining about I agree with the confusion of similar options. In #3133 you added the setting |
Glad to hear that this works for you. I'd also be interested in your opinion about hard-coding the 1:2 ratio for the vertical split mode.
I don't think this would work well, I see the two options as orthogonal. For example, when |
I agree that a 1:2 ratio is much better than a 1:1 ratio for a vertical split. (Especially for the log panel) Depending on what is done for the horizontal case in #3054 it may also make sense to make a separate setting for that.
You are right - hadn't thought about that. |
I'm not aware of any such thoughts (that doesn't mean anything though, I joined the project pretty late). It would make sense, but the challenge is to find a free keybinding, as it has to be free in pretty much all views. Personally I'd love to be able to drag the frame between the views left or right (or up or down) with the mouse, like in gitk. I don't even think this would be terribly difficult to implement, but I haven't tried. We'd still want key bindings as well though, for those who turned off mouse support. In both cases we'd have to decide how to persist the value; we'd probably store it in state.yml, and we can decide ourselves with what granularity we want to do that (at least separately for normal mode and half-screen mode, but in half-screen mode we might even store different settings depending on which side panel is active). The config.yml setting would have to be removed though, and we could consider migrating that value to state.yml for backwards compatibility. Sounds fun, I'll play with this when I find some time. |
Yep, I've never really considered making windows adjustable, but I like the idea. BTW @stefanhaller I'm testing this out locally and I like the 1:2 ratio. Happy for it to be hardcoded. I'll say more on the PR |
Implemented in #3133. |
Is your feature request related to a problem? Please describe.
Instead of having it split vertically where e.g. the commits take up half of the screen, and the code takes up the remaining half (and then everything gets wrapped), I'd rather it was one above the other.
Describe the solution you'd like
Up goes one half, down goes the other.
Describe alternatives you've considered
Couldn't find anything related to that in the configuration, I thought it might be affected by
mainPanelSplitMode: 'vertical'
, but it's not (as expected).The text was updated successfully, but these errors were encountered: