-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 recipe for frontside-windowing #7569
Conversation
When using compilation buffers or other commands that split windows vertically or horizonally, this adds some consistency by making a preference to splitting the window evenly in half, and keeping it to two splits.
Thanks for this -- very quick first pass:
|
@riscy I've taken the opportunity to refactor this to use a globalized minor-mode per your suggestion. I didn't know that it was a thing, thanks for the tip! I've also taken care of the other pieces of feedback. I have search for something similar on MELPA. The goal here is to be as dead simple as possible. Splitting sensibly means always split in half, and to the right, nothing fancier. This has worked for us for years. |
Thanks, that looks like a good way to isolate the keybindings. I think it would be beneficial to actually I think you may not need a While I'm here, a couple minor checkdocs popped up this time around:
|
I'll mark this awaiting upstream for now, but feel free to reach out any time. |
@riscy I tried using |
Hmm, can you paste the code you tried using? |
Friendly ping. :) |
I haven't been able to dedicate any cycles to this, but will try when I get the opportunity. |
I'll mark this awaiting upstream for now, but feel free to reach out. |
I am closing this pull-request because it is |
Brief summary of what the package does
When using compilation buffers or other commands that split windows vertically or horizontally, the way in which Emacs splits windows can vary greatly depending on the frame size. This adds some consistency on how the windows split by making a preference to splitting the window evenly in half, and keeping it to two splits.
This is the technique we've been using for years, and so wanted to make it generally available as we try and break out our monolithic configuration into a bunch of loosely coupled packages.
Direct link to the package repository
https://github.com/thefrontside/frontmacs/tree/release/packages/windowing
Your association with the package
maintainer
Relevant communications with the upstream package maintainer
None needed
Checklist
M-x checkdoc
is happy with my docstrings