20 lines
517 B
EmacsLisp
20 lines
517 B
EmacsLisp
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
|
|
|
|
;; Load modular configuration files
|
|
(load! "security")
|
|
(load! "core")
|
|
(load! "development")
|
|
(load! "org")
|
|
(load! "ai")
|
|
(load! "inbox")
|
|
(load! "metrics")
|
|
(load! "theme")
|
|
|
|
;; 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)
|
|
|
|
;; Keybinding to open inbox.el
|
|
(map! "C-c i" #'(lambda () (interactive) (find-file (expand-file-name "inbox.el" doom-user-dir))))
|