aboutsummaryrefslogtreecommitdiff
path: root/doom.d/config.org
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-10-01 11:23:04 +0100
committeroreodave <aryadevchavali1@gmail.com>2019-10-01 11:23:04 +0100
commite588781d78ea11a999c75dad78d5cbb420559e95 (patch)
tree48f4028c87e5f9072da4beaee9fea999a85a70a4 /doom.d/config.org
parente230f912f3c50d75b2290420bffae24824b85f24 (diff)
downloaddotfiles-e588781d78ea11a999c75dad78d5cbb420559e95.tar.gz
dotfiles-e588781d78ea11a999c75dad78d5cbb420559e95.tar.bz2
dotfiles-e588781d78ea11a999c75dad78d5cbb420559e95.zip
+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!
Diffstat (limited to 'doom.d/config.org')
-rw-r--r--doom.d/config.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/doom.d/config.org b/doom.d/config.org
index d475503..4f756b8 100644
--- a/doom.d/config.org
+++ b/doom.d/config.org
@@ -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