Remove auto-fill from org/markdown, enable visual-line-mode instead

This commit is contained in:
Evie Litherland-Smith 2024-12-13 09:58:19 +00:00
parent 264cc4bd06
commit d2d16a5ccd

View file

@ -569,9 +569,6 @@
(use-package org (use-package org
:demand :demand
:defines org-mode-map :defines org-mode-map
:hook ((org-mode . (lambda ()
(visual-line-mode -1)
(turn-on-auto-fill))))
:bind ( :map org-mode-map :bind ( :map org-mode-map
("<remap> <imenu>" . consult-org-heading) ("<remap> <imenu>" . consult-org-heading)
("<remap> <org-goto>" . consult-org-heading)) ("<remap> <org-goto>" . consult-org-heading))
@ -1267,8 +1264,6 @@
:defer t) :defer t)
(use-package markdown-mode (use-package markdown-mode
:hook
((markdown-mode . turn-on-auto-fill))
:custom :custom
(markdown-enable-math t) (markdown-enable-math t)
(markdown-enable-html t) (markdown-enable-html t)