commit 571f0f2ee818043ff2cdd0eea1c0e68e0becebb0
parent cd820ec9eb56d536202cc3ed3db0fdedd4092474
Author: Alex Balgavy <alex@balgavy.eu>
Date: Mon, 2 May 2022 21:04:15 +0200
emacs: misc settings
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -276,6 +276,7 @@ Furthermore, tags were getting cut off, so I manually set the best column to dis
(za/toggle-wrap t)
(org-indent-mode)
(setq org-tags-column (- 10 (window-total-width)))
+ (setq org-src-tab-acts-natively t) ; a tab in a code block indents the code as it should
;; Realign tags
(org-set-tags-command '(4)))
diff --git a/emacs/init.el b/emacs/init.el
@@ -4,7 +4,10 @@
(toggle-frame-fullscreen)
;; Get rid of all bars
-(setq org-src-tab-acts-natively t)
+;; Note: this hinders discoverability! Not a problem for me, because
+;; counsel-M-x gives discoverability with fuzzy-finding and
+;; tmm-menubar still lets me use the menubar when needed. But this is
+;; worth considering.
(when (or window-system (daemonp))
(menu-bar-mode -1)
(tool-bar-mode -1)