summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-03-18 14:57:57 -0400
committermattkae <mattkae@protonmail.com>2023-03-18 14:57:57 -0400
commit9c35a97343172c2253b84f490b3ea195dff0b54c (patch)
treea699f58845a263e763d9e95da47dc9660cfa0497 /lisp
parent38893cc42e33fc3ab5b80ef592b66226b9ba91cf (diff)
Including rust and some org-mode updates
Diffstat (limited to 'lisp')
-rw-r--r--lisp/org-custom.el7
-rw-r--r--lisp/rust.el13
2 files changed, 18 insertions, 2 deletions
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index e46a070..f06ebae 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -79,9 +79,10 @@
(use-package org-alert
:ensure t
:config
+ (org-alert-enable)
(setq org-alert-interval 300
org-alert-notify-cutoff 10
- org-alert-notify-after-event-cutoff 10
+ org-alert-notify-after-event-cutoff nil
alert-default-style 'libnotify))
(use-package org-roam
@@ -90,7 +91,9 @@
(org-roam-directory "~/OrgRoam")
:bind (("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
- ("C-c n i" . org-roam-node-insert))
+ ("C-c n i" . org-roam-node-insert)
+ ("C-c n g" . org-roam-graph)
+ ("C-c n j" . org-roam-dailies-capture-today))
:config
(org-roam-setup)
)
diff --git a/lisp/rust.el b/lisp/rust.el
new file mode 100644
index 0000000..f200c40
--- /dev/null
+++ b/lisp/rust.el
@@ -0,0 +1,13 @@
+
+(use-package rust-mode
+ :ensure t
+ :config
+ (setq rust-format-on-save t))
+
+(use-package eglot
+ :ensure t
+ :after (rust-mode)
+ :config
+ (add-hook 'rust-mode-hook 'eglot-ensure))
+
+(provide 'rust)