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: Sean Whitton
Subject: Re: master 6a2ee981c3: Add new functions for splitting the root window
Date: Tue, 06 Sep 2022 17:32:05 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hello,

On Tue 06 Sep 2022 at 07:17PM +03, Juri Linkov wrote:

>>  (define-key ctl-x-map "{" 'shrink-window-horizontally)
>>  (define-key ctl-x-map "-" 'shrink-window-if-larger-than-buffer)
>>  (define-key ctl-x-map "+" 'balance-windows)
>> +(define-key ctl-x-map "7" 'split-root-window-below)
>> +(define-key ctl-x-map "9" 'split-root-window-right)
>>  (define-key ctl-x-4-map "0" 'kill-buffer-and-window)
>>  (define-key ctl-x-4-map "1" 'same-window-prefix)
>>  (define-key ctl-x-4-map "4" 'other-window-prefix)
>
> Taking one of the most easy to type keys 'C-x 7' and 'C-x 9'
> for such rarely used commands?  Really?  Wouldn't it better
> to use a negative prefix arg of the existing commands,
> e.g. 'C-- C-x 2' without specifying the size of the root window,
> or 'C-u -25 C-x 2'.

Negative prefix argument is a nice idea for this, I agree.

-- 
Sean Whitton



reply via email to

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