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: Tue, 06 Sep 2022 19:17:10 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>  (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'.



reply via email to

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