emacs-devel
[Top][All Lists]
Advanced

[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:

PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]