bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41130: outline-mode: Add new commands like org-cycle and org-global-


From: Juri Linkov
Subject: bug#41130: outline-mode: Add new commands like org-cycle and org-global-cycle
Date: Wed, 20 May 2020 01:04:01 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>>> (define-key outline-minor-mode-map (kbd "C-<tab>") 'outline-cycle)
>>> (define-key outline-minor-mode-map (kbd "S-<tab>") 'outline-global-cycle)
>>>
>>> They are already there in Org-mode and many users swear by them.
>>> (In Org-mode, org-cycle is bound to TAB instead of C-TAB, but I don't
>>> think that would work very well with outline-minor-mode.)
>>
>> C-TAB switches tabs in tab-bar-mode.
>
> Sorry, it seems I wrote this bug report in a very confusing way.
> Please let me try again.
>
> One part would be to add:
>
>     (define-key outline-mode-map (kbd "<tab>") 'outline-cycle)
>     (define-key outline-mode-map (kbd "S-<tab>") 'outline-global-cycle)
>
> I also think we should also consider:
>
>     (define-key outline-minor-mode-map (kbd "C-<tab>") 'outline-cycle)
>     (define-key outline-minor-mode-map (kbd "S-<tab>") 'outline-global-cycle)
>
> If there is a conflict with tab-bar-mode on C-TAB, maybe we could use
> M-TAB instead?

M-TAB switches desktop windows in many window managers.





reply via email to

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