Add `visual-line-mode' to `org-mode-hook'
See the comments for details. Subject to change.
This commit is contained in:
parent
69abf8d1b0
commit
65eb2308f5
11
init.el
11
init.el
|
@ -366,7 +366,16 @@
|
|||
org-export-with-smart-quotes t
|
||||
org-export-with-sub-superscripts t)
|
||||
(:bind "RET" unpackaged/org-return-dwim)
|
||||
(add-hook 'before-save-hook #'acdw/hook--org-mode-fix-blank-lines))
|
||||
(add-hook 'before-save-hook #'acdw/hook--org-mode-fix-blank-lines)
|
||||
|
||||
;; There's a few ways to do this.
|
||||
;; I'm choosing to do `visual-line-mode' in a hook, because
|
||||
;; `org-startup-truncated' makes the good point that really long tables in
|
||||
;; orgmode, or links, can look really bad when truncated. However,
|
||||
;; `org-startup-truncated' would follow the usage of the rest of Emacs I have
|
||||
;; setup. Maybe I should reëxamine my usage of `visual-line-mode',
|
||||
;; `truncate-lines', and `word-wrap'...
|
||||
(:hook visual-line-mode))
|
||||
|
||||
(setup eshell
|
||||
(:option eshell-directory-name (acdw/dir "eshell/" t)
|
||||
|
|
Loading…
Reference in New Issue