aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init/oni-org-init.org
blob: a7ea4f0b20936bb584fe89d55a2e14341d8e1f8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#+TITLE: Org mode configuration

#+BEGIN_SRC emacs-lisp
  (require 'org)
#+END_SRC

Tell org-mode to fontify code blocks in their specified languages.

#+BEGIN_SRC emacs-lisp
  (setq org-src-fontify-natively t)
#+END_SRC

Pressing RET on a link should really follow that link.

#+BEGIN_SRC emacs-lisp
  (setq org-return-follows-link t)
#+END_SRC

Enable automatic text filling for org-mode.

#+BEGIN_SRC emacs-lisp
  (add-hook 'org-mode-hook 'auto-fill-mode)
#+END_SRC