summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2017-02-18 14:53:23 -0800
committerFranck Cuny <franck.cuny@gmail.com>2017-02-18 14:53:23 -0800
commit9678a02663a0a84b6581ef91d78a204d81cac40d (patch)
treef8d62f42a60e45ca24e76ce9dda0b694cf8f8e21
parent[Emacs] Remove configuration for 'popwin'. (diff)
downloademacs.d-9678a02663a0a84b6581ef91d78a204d81cac40d.tar.gz
[Emacs] Simple configuration for org-mode.
-rw-r--r--emacs.d/init.el15
1 files changed, 12 insertions, 3 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 9a52ab4..22f3f2a 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -368,9 +368,18 @@
   :config
   (midnight-mode t))
 
-  :bind (("C-c b" . pants-find-build-file)
-         ("C-c r" . pants-run-binary)
-         ("C-c t" . pants-run-test)))
+(use-package org
+  :defer t
+  :init
+  (progn
+    (setq org-startup-indented t)
+    (org-babel-do-load-languages 'org-babel-load-languages
+                                 '(
+                                   (sh . t))))
+  :config
+  (add-hook 'org-mode-hook #'(lambda ()
+                               (visual-line-mode)
+                               (org-indent-mode))))
 
 ;; (use-package phabricator
 ;;   ;; interface to phabricator