[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 6a2ee981c3: Add new functions for splitting the root window
From: |
Juri Linkov |
Subject: |
Re: master 6a2ee981c3: Add new functions for splitting the root window |
Date: |
Wed, 14 Sep 2022 09:47:22 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>>> C-x w | split-window-right
>>> C-u C-x w | split-root-window-right
>>> C-x w - split-window-below
>>> C-u C-x w - split-root-window-below
>>
>> These are really not easier to type than 'C-x 2' and 'C-x 3'. I'd rather
>> type simply 'C-u C-x 2' and 'C-u C-x 3' to split the root window.
>>
>
> But (1) C-u C-x 2 and C-u C-x 3 are already taken
You meant C-u is taken to split the window to exactly 4 lines high?
>>> C-x w h window-height-adjust with + - = (repeatable)
>>> C-x w w window-width-adjust with + - = (repeatable)
>>
>> These could be also repeatable with arrow keys, and one keymap 'C-x w r'
>> with mnemonic "resize".
>
> But then you lose the possibility to fit the window to the buffer
> vertically and horizontally (which is what the = key does in both cases),
> at least not without using some arbitrary keys for the two cases. In
> practice I rarely adjust both the width and height of a window, but perhaps
> that's only me.
But then we could use two keys in the shared map, e.g. '|' and '-'.
>>> C-x w m maximize-window-toggle C-u C-x w m minimize-window
>>
>> Window managers have shortcut keys 'x' for maximize, and 'n' for
>> minimize.
>
> Out of curiosity: which window managers?
On many window managers. For example, this is how it looks
on MATE Desktop Environment:
- Re: master 6a2ee981c3: Add new functions for splitting the root window, (continued)
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Lars Ingebrigtsen, 2022/09/13
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Sean Whitton, 2022/09/13
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Gregory Heytings, 2022/09/13
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Sean Whitton, 2022/09/13
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Gregory Heytings, 2022/09/13
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Yuri Khan, 2022/09/13
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Gregory Heytings, 2022/09/13
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Yuri Khan, 2022/09/13
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Juri Linkov, 2022/09/13
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Gregory Heytings, 2022/09/13
- Re: master 6a2ee981c3: Add new functions for splitting the root window,
Juri Linkov <=
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Gregory Heytings, 2022/09/14
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Yuri Khan, 2022/09/14
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Gregory Heytings, 2022/09/14
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Yuri Khan, 2022/09/14
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Augusto Stoffel, 2022/09/15
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Gregory Heytings, 2022/09/16
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Augusto Stoffel, 2022/09/16
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Emanuel Berg, 2022/09/19
- Re: master 6a2ee981c3: Add new functions for splitting the root window, Gregory Heytings, 2022/09/08
- RE: [External] : Re: master 6a2ee981c3: Add new functions for splitting the root window, Drew Adams, 2022/09/08