diff options
author | 2016-10-29 16:38:44 +0200 | |
---|---|---|
committer | 2016-10-29 16:38:44 +0200 | |
commit | ca9135d1b047c9966aecebef42c88c040eead4ce (patch) | |
tree | c16abd1ed3374ed76f5dd387b2f4f9dcc0196608 /emacs/.emacs.d/init/oni-org-init.org | |
parent | 825f569e2d16af30df074f4a40fa53d69ca6cd78 (diff) | |
download | new-dotfiles-ca9135d1b047c9966aecebef42c88c040eead4ce.tar.gz new-dotfiles-ca9135d1b047c9966aecebef42c88c040eead4ce.zip |
Move org config, add following links
Diffstat (limited to 'emacs/.emacs.d/init/oni-org-init.org')
-rw-r--r-- | emacs/.emacs.d/init/oni-org-init.org | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/oni-org-init.org b/emacs/.emacs.d/init/oni-org-init.org new file mode 100644 index 0000000..627f7ca --- /dev/null +++ b/emacs/.emacs.d/init/oni-org-init.org @@ -0,0 +1,19 @@ +#+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 |