+hook for org mode to turn on visual line mode

I like visual line mode, and sometimes when exporting text to another
app auto fill can't satisfy the needs. Thus visual line mode to the rescue!
This commit is contained in:
oreodave
2019-10-01 11:23:04 +01:00
parent e230f912f3
commit e588781d78

View File

@@ -364,11 +364,12 @@ My docsets are stored in .docsets for ease of use
*** Org
#+BEGIN_SRC emacs-lisp
(after! org
(add-hook 'org-mode-hook #'visual-line-mode)
(map! ; Org keybinds
:map org-mode-map
(:localleader
:desc "Org dispatch" "ee" 'org-export-dispatch)
)
))
#+END_SRC
I like using the org dispatch facilities more than the default export keybinds
in Doom, so I need this binding