[rc/tlp] add config for langa (formerly enigma)
[~bandali/configs] / init.org
index e7882d5..b7679a7 100644 (file)
--- a/init.org
+++ b/init.org
@@ -682,7 +682,8 @@ In short, my favourite way of life.
   :config
   (setq org-src-tab-acts-natively t
         org-src-preserve-indentation nil
-        org-edit-src-content-indentation 0)
+        org-edit-src-content-indentation 0
+        org-log-done 'time)
   :hook (org-mode . org-indent-mode))
 
 (use-package org-notmuch
@@ -881,6 +882,8 @@ There's no way I could top that, so I won't attempt to.
       ("web"
        (or
         (mode . web-mode)
+        (mode . css-mode)
+        (mode . scss-mode)
         (mode . js2-mode)))
       ("shell"
        (or
@@ -1009,6 +1012,8 @@ TODO: break this giant source block down into individual org sections.
   (company-minimum-prefix-length 1)
   (company-selection-wrap-around t)
   (company-dabbrev-char-regexp "\\sw\\|\\s_\\|[-_]")
+  (company-dabbrev-downcase nil)
+  (company-dabbrev-ignore-case nil)
   :config
   (global-company-mode t))
 #+end_src
@@ -1271,7 +1276,8 @@ instead.
 (use-package emmet-mode
   :bind* (("C-)" . emmet-next-edit-point)
           ("C-(" . emmet-prev-edit-point))
-  :init
+  :config
+  (unbind-key "C-j" emmet-mode-keymap)
   (setq emmet-move-cursor-between-quotes t)
   :hook (web-mode css-mode html-mode sgml-mode))
 #+end_src
@@ -1670,6 +1676,9 @@ nil))
 #+begin_src emacs-lisp
 (use-package ox-hugo
   :after ox)
+
+(use-package ox-hugo-auto-export
+  :load-path "lib/ox-hugo")
 #+end_src
 
 * Post initialization