dotfiles/emacs/.emacs.d/init/oni-org-init.org

19 lines
418 B
Org Mode

#+TITLE: Org mode configuration
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