summaryrefslogtreecommitdiff
path: root/.emacs-custom.el
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-06-22 10:22:13 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-06-22 10:22:13 +0200
commit3890fd2d0c603b3421cf6d21212c910f8803af32 (patch)
tree3cfa96302439c7d9ff73588dd7ba567aad241ae6 /.emacs-custom.el
parent0812042b76691c704d902acd7710350648bd9344 (diff)
downloaddotfiles-3890fd2d0c603b3421cf6d21212c910f8803af32.tar.xz
Tweak Emacs configuration some more
Take advantage of recent (Emacs 28) additions to project.el to make a convenient "magit-to-project" command. Some C-c p bindings are now redundant with the new C-x p keymap; keep them for a bit, as Emacs 28 is not coming out anytime soon. Add an ibuffer group for "messaging" buffers. Set lua indentation to 2 spaces; the Lua Style Guide[1] says that this convention is used in many learning resources; this is also what pandoc filters use AFAICT. [1]: http://lua-users.org/wiki/LuaStyleGuide Org 9.4 introduces a new face for DONE headlines; I think the DONE keyword face is enough to distinguish these headlines, so I'll turn off that feature.
Diffstat (limited to '.emacs-custom.el')
-rw-r--r--.emacs-custom.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs-custom.el b/.emacs-custom.el
index d16cc94..973e602 100644
--- a/.emacs-custom.el
+++ b/.emacs-custom.el
@@ -45,6 +45,7 @@
'(isearch-allow-scroll t)
'(isearch-lazy-count t)
'(line-number-display-limit-width 2000)
+ '(lua-indent-level 2)
'(magit-diff-refine-hunk t)
'(magit-ediff-dwim-show-on-hunks t)
'(magit-log-arguments '("--graph" "--color" "--decorate" "-n256"))
@@ -56,6 +57,7 @@
'(markdown-indent-on-enter 'indent-and-new-item)
'(menu-bar-mode nil)
'(minibuffer-depth-indicate-mode t)
+ '(org-fontify-done-headline nil)
'(org-fontify-quote-and-verse-blocks t)
'(org-startup-indented t)
'(package-archives