about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-04-12 12:54:52 -0500
committerCase Duckworth2021-04-12 12:54:52 -0500
commit65eb2308f54a6a2a758500cf84b502c0d2728e7b (patch)
tree5c5f717ca08ab5a2cb552fee433ac8ca6e7e2934
parentRemove `ctrlf' and customize `isearch' (diff)
downloademacs-65eb2308f54a6a2a758500cf84b502c0d2728e7b.tar.gz
emacs-65eb2308f54a6a2a758500cf84b502c0d2728e7b.zip
Add `visual-line-mode' to `org-mode-hook'
See the comments for details.  Subject to change.
-rw-r--r--init.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/init.el b/init.el index fcc560e..0e8db32 100644 --- a/init.el +++ b/init.el
@@ -366,7 +366,16 @@
366 org-export-with-smart-quotes t 366 org-export-with-smart-quotes t
367 org-export-with-sub-superscripts t) 367 org-export-with-sub-superscripts t)
368 (:bind "RET" unpackaged/org-return-dwim) 368 (:bind "RET" unpackaged/org-return-dwim)
369 (add-hook 'before-save-hook #'acdw/hook--org-mode-fix-blank-lines)) 369 (add-hook 'before-save-hook #'acdw/hook--org-mode-fix-blank-lines)
370
371 ;; There's a few ways to do this.
372 ;; I'm choosing to do `visual-line-mode' in a hook, because
373 ;; `org-startup-truncated' makes the good point that really long tables in
374 ;; orgmode, or links, can look really bad when truncated. However,
375 ;; `org-startup-truncated' would follow the usage of the rest of Emacs I have
376 ;; setup. Maybe I should reëxamine my usage of `visual-line-mode',
377 ;; `truncate-lines', and `word-wrap'...
378 (:hook visual-line-mode))
370 379
371(setup eshell 380(setup eshell
372 (:option eshell-directory-name (acdw/dir "eshell/" t) 381 (:option eshell-directory-name (acdw/dir "eshell/" t)