summaryrefslogtreecommitdiff
path: root/home/dots/.emacs
diff options
context:
space:
mode:
authorMarc Coquand <marc@coquand.email>2025-01-09 12:35:24 +0100
committerMarc Coquand <marc@coquand.email>2025-01-09 12:35:24 +0100
commitd4bd68cfbdee01225fe017c28a3db76a807d15b7 (patch)
tree2cb137bc043e5ceedc35ad072fc211f7dba79a58 /home/dots/.emacs
parentd5ac7d2ef562c276225f6f9019be7b9a00d399a2 (diff)
downloadguix-d4bd68cfbdee01225fe017c28a3db76a807d15b7.tar.gz
guix-d4bd68cfbdee01225fe017c28a3db76a807d15b7.tar.bz2
guix-d4bd68cfbdee01225fe017c28a3db76a807d15b7.zip
.
Diffstat (limited to '')
-rw-r--r--home/dots/.emacs26
1 files changed, 24 insertions, 2 deletions
diff --git a/home/dots/.emacs b/home/dots/.emacs
index 80b6796..5ef0719 100644
--- a/home/dots/.emacs
+++ b/home/dots/.emacs
@@ -28,6 +28,7 @@
mastodon
org-present
visual-fill-column
+ howm
nix-mode
notmuch
@@ -61,6 +62,17 @@
(load-theme 'BOGO t)
+(use-package howm
+ :ensure t
+ :init
+ (setq howm-view-title-header "#")
+ :custom
+ ;; Where to store the files?
+ (howm-directory "~/howm")
+ (howm-home-directory howm-directory)
+ ;; What format to use for the files?
+ (howm-file-name-format "%Y-%m-%d-%H%M%S.md"))
+
(use-package exwm
:init
(setq exwm-workspace-number 1
@@ -1176,7 +1188,7 @@ Index includes links and headings."
:empty-lines 1)
("g" "Log Coffee"
entry (file+datetree "~/personal-db/notes/log.org")
- "* Brewed pour-over :coffee:sweden:bastad:\n:PROPERTIES:\n:WATER: 320g\n:COFFEE: 25g\n:TYPE: [[id:504d708d-b90f-410e-af7f-ac8c6896ee0d][Orange County]]\n:TEMP: 90\n:RATING:\n:PREHEAT: YES\n:TOTALBREWTIME:\n:CLICKS:\n:END:\n%T\n*** Observations "
+ "* Brewed pour-over :coffee:joigny:france:\n:PROPERTIES:\n:WATER: 320g\n:COFFEE: 25g\n:TYPE: [[id:504d708d-b90f-410e-af7f-ac8c6896ee0d][Orange County]]\n:TEMP: 90\n:RATING:\n:PREHEAT: YES\n:TOTALBREWTIME:\n:CLICKS:\n:END:\n%T\n*** Observations "
:empty-lines 0
:prepend t)
("r" "Reference"
@@ -1193,7 +1205,7 @@ Index includes links and headings."
:empty-lines 1)
("l" "Log"
entry (file+datetree "~/personal-db/notes/log.org")
- "** %? :sweden:bastad:\n%T"
+ "** %? :joigny:france:\n%T"
:prepend t
:empty-lines 0)
("n" "Inbox"
@@ -1301,6 +1313,14 @@ Index includes links and headings."
(skeleton-end-hook nil)
:init
+ (define-skeleton s/nix-let-in
+ "Let in"
+ nil
+ > "let" \n
+ > - @ \n
+ -2 "in" \n
+ )
+
(define-skeleton s/scheme-define-module
"Define module"
"Module name: "
@@ -1395,6 +1415,8 @@ Index includes links and headings."
:init
(setq-default abbrev-mode t)
:config
+ (define-abbrev nix-mode-abbrev-table "2le"
+ "" 's/nix-let-in)
(define-abbrev scheme-mode-abbrev-table "2pr"
"" 's/scheme-procedure)
(define-abbrev scheme-mode-abbrev-table "2mo"