diff options
author | Tom Willemse | 2020-07-06 23:18:31 -0700 |
---|---|---|
committer | Tom Willemse | 2020-07-06 23:18:31 -0700 |
commit | 0908027f9f374803a5efa09e7a65ac09dcc4fee4 (patch) | |
tree | bd38b58de2334eca5420a2ece604a7f7b00a3a96 /oni-org | |
parent | 3ad85455443e5de4fdea174c688c0f27ff4395cc (diff) | |
download | emacs-config-0908027f9f374803a5efa09e7a65ac09dcc4fee4.tar.gz emacs-config-0908027f9f374803a5efa09e7a65ac09dcc4fee4.zip |
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.
Diffstat (limited to 'oni-org')
-rw-r--r-- | oni-org/oni-org.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index ced5a6a..5ff19f6 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -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) |