summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-02-15 17:00:07 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-02-15 17:00:07 -0800
commit5a13c5a68c93ba8d322185d7cb65944079abbc08 (patch)
tree64ed3d2c16541f8405b6e9be2ac85ade920a456a
parent[emacs] some UI tweaks. (diff)
downloademacs.d-5a13c5a68c93ba8d322185d7cb65944079abbc08.tar.gz
[emacs] Start a configuration for org-mode.
-rw-r--r--emacs.d/core/core-org.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs.d/core/core-org.el b/emacs.d/core/core-org.el
new file mode 100644
index 0000000..7192460
--- /dev/null
+++ b/emacs.d/core/core-org.el
@@ -0,0 +1,15 @@
+(use-package org
+  :mode ("\\.org$" . org-mode)
+  :ensure t
+  :config
+  (progn
+    (setq-default fill-column 120)
+    (setq org-src-fontify-natively t)
+    (add-hook 'org-mode-hook 'auto-fill-mode)
+    (org-babel-do-load-languages
+     'org-babel-load-languages
+     '((scheme . t)
+       (sh . t))))
+  :init
+  (progn
+    (setq org-startup-indented t)))