Files
doom/config.el
T

24 lines
626 B
EmacsLisp
Raw Normal View History

2025-07-20 22:51:50 +08:00
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
2025-10-19 21:54:29 +08:00
;; Load modular configuration files
(load! "security")
(load! "core")
(load! "development/lsp")
(load! "development/cpp")
(load! "development/nix")
(load! "development/misc")
2025-10-19 21:54:29 +08:00
(load! "org")
(load! "ai/gptel")
(load! "ai/agents")
2025-11-22 13:59:15 +08:00
(load! "inbox")
2025-11-22 14:04:34 +08:00
(load! "metrics")
2025-11-22 20:13:14 +08:00
(load! "theme")
2025-11-22 13:52:03 +08:00
;; Performance tweaks
(setq gc-cons-threshold 100000000 ; Increase GC threshold to 100MB
gc-cons-percentage 0.6)
(run-with-idle-timer 5 t #'garbage-collect)
2025-11-22 13:59:15 +08:00
;; Keybinding to open inbox.el
2025-11-22 14:01:07 +08:00
(map! "C-c i" #'(lambda () (interactive) (find-file (expand-file-name "inbox.el" doom-user-dir))))