Remove auto-fill from org/markdown, enable visual-line-mode instead
This commit is contained in:
parent
264cc4bd06
commit
d2d16a5ccd
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue