1
0
Fork 0

Stop using ‘auto-fill-mode’

Instead of using ‘auto-fill-mode’, start using ‘org-indent-mode’ and
‘visual-line-mode’. It looks the same, but without using any newlines and
indentation. It works well if combined with other tools like Orgzly which don’t
do any kind of indentation on their own.
This commit is contained in:
Tom Willemse 2020-07-06 23:18:31 -07:00
parent 3ad8545544
commit 0908027f9f

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2020.0511.001009
;; Version: 2020.0705.113618
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons)
;; This program is free software; you can redistribute it and/or modify
@ -338,10 +338,11 @@ also move point to the start of the heading."
(add-to-list 'org-babel-load-languages '(java . t))
(add-hook 'org-mode-hook 'auto-fill-mode)
(add-hook 'org-mode-hook 'flyspell-mode)
(add-hook 'org-mode-hook #'oni-org-set-todo-keyword-faces)
(add-hook 'org-mode-hook #'oni-org-set-tag-faces)
(add-hook 'org-mode-hook #'oni-org-set-todo-keyword-faces)
(add-hook 'org-mode-hook 'flyspell-mode)
(add-hook 'org-mode-hook 'org-indent-mode)
(add-hook 'org-mode-hook 'visual-line-mode)
(org-edna-mode)