 
 ;; reminds user to keep good posture
 (use-package posture
-  :config
-  (global-set-key (kbd "C-c t p") #'toggle-posture-reminder))
+  :bind ("C-c t p" . #'toggle-posture-reminder))
 
 (add-hook 'emacs-startup-hook
           (lambda ()
-            (setq file-name-handler-alist t/file-name-handler-alist)))
+            (setq file-name-handler-alist t/file-name-handler-alist)
+	    (setq gc-cons-threshold gc-cons-threshold-original)))
+
+;; disable garbage collection until post-init
+
 
 ;;; init.el ends here
 

  :init
  (setq org-roam-directory (concat org-directory "roam")
        org-roam-v2-ack t ;; silence upgrade warning
        ;; org-roam-capture-templates
        ;; '(( "d"
        ;;     "default"
        ;;     plain #'org-roam-capture--get-point
        ;;     "%?"
        ;;     :file-name "%<%Y%m%d%H%M%S>-${slug}"
        ;;     :head "#+title: ${title}\n#+STARTUP: showeverything"
        ;;     :unnarrowed t)
        ;;   ( "m"
        ;;     "math note"
        ;;     plain #'org-roam-capture--get-point
        ;;     "%?"
        ;;     :file-name "%<%Y%m%d%H%M%S>-${slug}"
        ;;     :head "#+title: ${title}\n#+roam_tags: math\n#+STARTUP: latexpreview showeverything"
        ;;     :unnarrowed t)
        ;;   ( "s"
        ;;     "school note"
        ;;     plain #'org-roam-capture--get-point
        ;;     "%?"
        ;;     :file-name "%<%Y%m%d%H%M%S>-${slug}"
        ;;     :head "#+title: ${title}\n#+roam_tags: %^{engl|fsci|pltw|art|gym|phys|psych}\n#+STARTUP: showeverything"
        ;;     :unnarrowed t))
        )
  :bind
  ("C-c n r f" . #'org-roam-node-find)
  ("C-c n r i" . #'org-roam-node-insert)


;; theme of choice
(use-package modus-themes
  :no-require t                         ; included in Emacs 28 but not as a library
  :hook (emacs-startup . (lambda () (t/load-theme 'modus-operandi)))
  :init
  (setq modus-themes-italic-constructs t
