diff options
Diffstat (limited to '')
-rw-r--r-- | home/dots/.emacs | 26 |
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" |