I don't really know what I want to do with this yet. I think that I'll probably change a few things compared to Emacs. I probably won't make it possible to resize windows because that's too annoying. I'm thinking something like this:
C-x 2: split-vertical
C-x @: split-horizontal
C-x 3: split-vertical-in-thirds
C-x #: split-horizontal-in-thirds
C-x 4: split-quadrants
C-x 0: close-window (idk how this will work)
and if you want to split vertical and then horizontal you can still do that but I'll limit the maximum of splits to 4.
EDIT: I almost never do the horizontal split and I almost never do anything other than two vertical windows. However, on a really big screen doing 3 vertical splits could be nice. Since I already support horizontal splitting it wouldn't make sense to remove it - plus I do use it sometimes.
I don't really know what I want to do with this yet. I think that I'll probably change a few things compared to Emacs. I probably won't make it possible to resize windows because that's too annoying. I'm thinking something like this:
- `C-x 2`: split-vertical
- `C-x @`: split-horizontal
- `C-x 3`: split-vertical-in-thirds
- `C-x #`: split-horizontal-in-thirds
- `C-x 4`: split-quadrants
- `C-x 0`: close-window (idk how this will work)
and if you want to split vertical and then horizontal you can still do that but I'll limit the maximum of splits to 4.
EDIT: I almost never do the horizontal split and I almost never do anything other than two vertical windows. However, on a really big screen doing 3 vertical splits could be nice. Since I already support horizontal splitting it wouldn't make sense to remove it - plus I do use it sometimes.
Previous comment is trash. Here's how it'll be done:
Same Emacs keybinds as usual: C-x 2 splits horizontally, C-x 3 splits vertically. There will not be a way to manually adjust window size but the commands will automatically resize the windows in the opposite axis to be equal. For example, splitting vertically will make sure the windows being split have the same horizontal length. I'll put an arbitrary stop at a max of 4 windows because I can't imagine having more.
Examples:
C-x 3 + C-x 3 will give you 3 vertical windows of equal width and height.
C-x 3 + C-x 2 will give you 3 windows: one half the width of the screen and the same height as the screen and two windows of equal height and length filling the height of the other window.
C-x 3 + C-x 2 + C-x o + C-x 2: one window in each quadrant.
Previous comment is trash. Here's how it'll be done:
Same Emacs keybinds as usual: `C-x 2` splits horizontally, `C-x 3` splits vertically. There will not be a way to manually adjust window size but the commands will automatically resize the windows in the opposite axis to be equal. For example, splitting vertically will make sure the windows being split have the same horizontal length. I'll put an arbitrary stop at a max of 4 windows because I can't imagine having more.
Examples:
- `C-x 3` + `C-x 3` will give you 3 vertical windows of equal width and height.
- `C-x 3` + `C-x 2` will give you 3 windows: one half the width of the screen and the same height as the screen and two windows of equal height and length filling the height of the other window.
- `C-x 3` + `C-x 2` + `C-x o` + `C-x 2`: one window in each quadrant.
I still don't like that idea. It seems overly complicated for something I barely use. I basically only use vertical split with 2 windows, sometimes horizontal split with 2 windows, very rarely this:
3 vertical split can be nice if on a long screen and quadrants is extremely rare.
I still don't like that idea. It seems overly complicated for something I barely use. I basically only use vertical split with 2 windows, _sometimes_ horizontal split with 2 windows, very rarely this:
```
|----------------|
| | |
| | |
|--------| |
| | |
| | |
|----------------|
```
or the opposite of that.
3 vertical split can be nice if on a long screen and quadrants is extremely rare.
I won't make it so you can have unlimited windows but there are some issues with the window commands.
I don't really know what I want to do with this yet. I think that I'll probably change a few things compared to Emacs. I probably won't make it possible to resize windows because that's too annoying. I'm thinking something like this:
C-x 2
: split-verticalC-x @
: split-horizontalC-x 3
: split-vertical-in-thirdsC-x #
: split-horizontal-in-thirdsC-x 4
: split-quadrantsC-x 0
: close-window (idk how this will work)and if you want to split vertical and then horizontal you can still do that but I'll limit the maximum of splits to 4.
EDIT: I almost never do the horizontal split and I almost never do anything other than two vertical windows. However, on a really big screen doing 3 vertical splits could be nice. Since I already support horizontal splitting it wouldn't make sense to remove it - plus I do use it sometimes.
Previous comment is trash. Here's how it'll be done: Same Emacs keybinds as usual:
C-x 2
splits horizontally,C-x 3
splits vertically. There will not be a way to manually adjust window size but the commands will automatically resize the windows in the opposite axis to be equal. For example, splitting vertically will make sure the windows being split have the same horizontal length. I'll put an arbitrary stop at a max of 4 windows because I can't imagine having more.Examples:
C-x 3
+C-x 3
will give you 3 vertical windows of equal width and height.C-x 3
+C-x 2
will give you 3 windows: one half the width of the screen and the same height as the screen and two windows of equal height and length filling the height of the other window.C-x 3
+C-x 2
+C-x o
+C-x 2
: one window in each quadrant.I still don't like that idea. It seems overly complicated for something I barely use. I basically only use vertical split with 2 windows, sometimes horizontal split with 2 windows, very rarely this:
or the opposite of that.
3 vertical split can be nice if on a long screen and quadrants is extremely rare.