Disable default key binding to toggle Org comments

I don't need this and often enough hit the key by accident.
This commit is contained in:
Daniel Borchmann 2025-09-12 17:50:30 +02:00
parent 6c52fb5c70
commit 0b80424a6d
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -743,7 +743,9 @@ split horizontally again, but this extra work should not matter much."
:bind (:map org-mode-map
([remap org-return] . (lambda () (interactive) (org-return :indent)))
([remap org-clock-goto] . db/org-clock-goto-first-open-checkbox)
([remap org-goto] . consult-org-heading))
([remap org-goto] . consult-org-heading)
("C-c ;" . nil) ; Disable default binding for `org-toggle-comment'
)
:autoload (org-get-todo-state
org-entry-get)
:commands (org-return)