From 9678a02663a0a84b6581ef91d78a204d81cac40d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 18 Feb 2017 14:53:23 -0800 Subject: [Emacs] Simple configuration for org-mode. --- emacs.d/init.el | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'emacs.d') 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 -- cgit 1.4.1