wip: refactor: Break init.el into modules
Currently, we will just throw everything into modules/ and require it. As the Emacs config grows in complexity, we can make the minor improvement to require everything under glob modules/*.el without explicitly naming each feature. Further, one could easily imagine a module system with conditionals and flags à la Doom.
This commit is contained in:
9
users/crumb/programs/emacs/modules/syd-evil.el
Normal file
9
users/crumb/programs/emacs/modules/syd-evil.el
Normal file
@@ -0,0 +1,9 @@
|
||||
;;; syd-evil.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package evil
|
||||
:init
|
||||
(setq evil-want-minibuffer t)
|
||||
:config
|
||||
(evil-mode 1))
|
||||
|
||||
(provide 'syd-evil)
|
||||
7
users/crumb/programs/emacs/modules/syd-ui.el
Normal file
7
users/crumb/programs/emacs/modules/syd-ui.el
Normal file
@@ -0,0 +1,7 @@
|
||||
;;; syd-ui.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package which-key
|
||||
:config
|
||||
(which-key-mode 1))
|
||||
|
||||
(provide 'syd-ui)
|
||||
Reference in New Issue
Block a user