summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
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)