From 7e0e83a4694cf684fdc060165d2cd90b55b0468b Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Sun, 26 Jan 2020 10:15:01 -0500 Subject: [PATCH] emacs: fix indentation in org-mode --- emacs/auto/-macro.el | 4 +++- emacs/custom.el | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/emacs/auto/-macro.el b/emacs/auto/-macro.el index 17effb8..c594319 100644 --- a/emacs/auto/-macro.el +++ b/emacs/auto/-macro.el @@ -11,7 +11,9 @@ (variable-pitch-mode) (org-bullets-mode) (flyspell-mode) - (setq-local indent-tabs-mode nil)) + (setq-local indent-tabs-mode nil) + (setq-local standard-indent 2) + (setq-local tab-width 2)) (defun agw-ranger-mode () (local-set-key (kbd "C-c t") #'agw-touch)) diff --git a/emacs/custom.el b/emacs/custom.el index 9ffbbfb..de76f95 100644 --- a/emacs/custom.el +++ b/emacs/custom.el @@ -43,6 +43,7 @@ '(org-hide-emphasis-markers t) '(org-hide-leading-stars t) '(org-hide-macro-markers t) + '(org-indent-indentation-per-level 2) '(org-link-frame-setup (quote ((vm . vm-visit-folder) @@ -50,6 +51,7 @@ (gnus . gnus) (file . find-file) (wl . wl)))) + '(org-list-indent-offset 2) '(org-log-done (quote note)) '(org-pretty-entities t) '(org-return-follows-link t)