summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2023-10-30 13:12:37 +0100
committerstuebinm2023-10-30 13:12:37 +0100
commitd9d1830207dace26ddd6de6da19619637b4e344e (patch)
treedad79df49b3aafbffe53eb7d324fe67a08526da2
parent46ff29aa429ea416197929c64546a48dfaf563bb (diff)
some improvements & fixes
-rw-r--r--config.el7
-rw-r--r--init.el10
-rw-r--r--packages.el7
3 files changed, 16 insertions, 8 deletions
diff --git a/config.el b/config.el
index c4584d9..7b41999 100644
--- a/config.el
+++ b/config.el
@@ -16,7 +16,7 @@
(setq org-roam-capture-templates
'(("d" "default" plain "" :target
- (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "${title}")
+ (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}")
:unnarrowed t)))
;; hooks to turn on lsp when entering haskell mode
@@ -38,7 +38,6 @@
(add-to-list 'load-path "~/.nix-profile/share/emacs/site-lisp/mu4e/")
-
(after! mu4e
(set-email-account! "hacc"
'( (user-mail-address . "stuebinm@hacc.space")
@@ -74,7 +73,9 @@
message-sendmail-extra-arguments '("--read-envelope-from")
message-send-mail-function #'message-send-mail-with-sendmail)
(setq mu4e-split-view 'vertical)
- (setq mu4e-headers-visible-columns 80))
+ (setq mu4e-headers-visible-columns 80)
+ ; initial search query ("/" by default, which makes fuzzy search annoying)
+ (setq mu4e-maildir-initial-input ""))
(after! helm-dictionary
(setq helm-dictionary-database
diff --git a/init.el b/init.el
index d4dc2e4..ddb689f 100644
--- a/init.el
+++ b/init.el
@@ -86,7 +86,7 @@
;;ansible
;;biblio
;;debugger ; FIXME stepping through code, to help you add bugs
- ;;direnv
+ direnv
docker
;;editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
@@ -113,7 +113,7 @@
:lang
(agda +local) ; types of types of types of types...
;;beancount
- ;;cc ; C/C++/Obj-C madness
+ (cc +lsp +tree-sitter) ; C/C++/Obj-C madness
clojure ; java with a lisp
;;common-lisp ; if you've seen one lisp, you've seen them all
;;coq ; proofs-as-programs
@@ -135,7 +135,7 @@
;;gdscript ; the language you waited for
(go +lsp +tree-sitter) ; the hipster dialect
;;graphql
- (haskell +lsp) ; a language that's lazier than I am
+ (haskell +lsp +tree-sitter) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
idris ; a language you can depend on
(json +tree-sitter) ; At least it ain't XML
@@ -144,12 +144,12 @@
(julia +lsp +tree-sitter) ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
;;latex ; writing papers in Emacs has never been so fun
- lean
+ lean4
;;ledger ; an accounting system in Emacs
;;lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
- nix ; I hereby declare "nix geht mehr!"
+ (nix +treesitter) ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel
(org
+roam2
diff --git a/packages.el b/packages.el
index d4b1c42..54886c1 100644
--- a/packages.el
+++ b/packages.el
@@ -30,6 +30,13 @@
(package! request)
+(package! hledger-mode)
+
+(package! gleam-mode
+ :recipe (:host github
+ :repo "gleam-lang/gleam-mode"
+ :files (:defaults "tree-sitter-gleam")))
+
;; To install a package directly from a remote git repo, you must specify a
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
;; https://github.com/raxod502/straight.el#the-recipe-format