emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Bug: Org line commands and visual-line mode bindings [9.3.7 (9.3.7-1


From: Gustavo Barros
Subject: Re: Bug: Org line commands and visual-line mode bindings [9.3.7 (9.3.7-15-gc9abb4-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200727/)]
Date: Fri, 04 Sep 2020 12:44:16 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi Bastien,

On Fri, 04 Sep 2020 at 17:20, Bastien <bzg@gnu.org> wrote:

> Hi Marco,
>
> Marco Wahl <marcowahlsoft@gmail.com> writes:
>
>> (add-hook 'visual-line-mode-hook
>>           (lambda () (when (derived-mode-p 'org-mode)
>>                        (local-set-key (kbd "C-a") #'org-beginning-of-line)
>>                        (local-set-key (kbd "C-e") #'org-end-of-line)
>>                        (local-set-key (kbd "C-k") #'org-kill-line))))
>
> Nice -- I've added this to https://orgmode.org/worg/org-hacks.html

I do think my other workaround is worth pondering to be included, so
that this would work out-of-the-box.  Do you see any particular
drawbacks of setting these bindings directly (that is, not by remapping)
in `org-mode-map'?

Best,
Gustavo.



reply via email to

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