         ;;     :head "#+title: ${title}\n#+roam_tags: %^{engl|fsci|pltw|art|gym|phys|psych}\n#+STARTUP: showeverything"
         ;;     :unnarrowed t))
 	)
-  :config
-  (global-set-key (kbd "C-c n r f") #'org-roam-node-find)
-  (global-set-key (kbd "C-c n r i") #'org-roam-node-insert)
-  (global-set-key (kbd "C-c n r I") #'org-id-get-create)
-  (global-set-key (kbd "C-c n r n") #'org-roam-capture)
-  (global-set-key (kbd "C-c n r r") #'org-roam-buffer-toggle))
+  :bind
+  ("C-c n r f" . #'org-roam-node-find)
+  ("C-c n r i" . #'org-roam-node-insert)
+  ("C-c n r I" . #'org-id-get-create)
+  ("C-c n r n" . #'org-roam-capture)
+  ("C-c n r r" . #'org-roam-buffer-toggle))
 
 ;; browser page for viewing/navigating org-roam notes
 (use-package org-roam-ui

     ("school"))
   org-capture-templates
   ;; entries for personal tasks file (consider removing)
   '(("t" "Personal todo" entry
      (file+olp+datetree t/daily-file)
      "* TODO %? :task:"
      :empty-lines 1 :prepend t)
     ("n" "Personal note" entry
      (file+olp+datetree t/daily-file)
      "* UNREAD %u %? :note:"
      :empty-lines 1 :prepend t)
     ("e" "Upcoming event" entry
      (file+olp+datetree t/daily-file)
      "* EVENT %? :event:\nSCHEDULED: %^{Event Date}t"
      :empty-lines 1 :prepend t)
     ;; entries for school file
     ("s" "Templates for school")
     ("st" "Class-related todo" entry
      (file+olp+datetree t/daily-file)
      "* TODO %^{Title} :%^{Type|hw|study}:\nDEADLINE:%^{Deadline}t\n\n+ [[%c][Turn-In]]\n\n%?"
      :empty-lines 1)
     ("sn" "Class-related notes" entry
      (file+olp+datetree t/daily-file)
      "* %^{Title} :%^{Type|notes|class-info}:\n%U\n\n+ %?"
      :empty-lines 1)))
   ;; agenda settings
   (setq org-deadline-warning-days 3
   org-agenda-custom-commands

;; journal
(use-package org-journal
  :straight t
  :bind ("C-c n j" . org-journal-new-entry)
  :after org
  :config
  (setq org-journal-dir (expand-file-name (concat org-directory "journal/"))
	;; don't open new window
