-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hi there, just a subjective question about organization:
It seems that the adoption of use-package often has people writing their configs in the style of:
(use-package foo
;; bindings for foo
;; hooks for foo)
(use-package bar
;; bindings for bar
;; hooks for bar)
Whereas you generally seem to prefer
;; init.el
(use-package foo)
(use-package bar)
;; keybindings.el
bindings for foo
bindings for bar
;; hooks.el
hooks for foo
hooks for bar
I was wondering why you favor this organization scheme? Does it offer performance advantages? Is it easier to wrap your head around? Does it scale better? I tried organizing it this way but found that it sometimes complicated things because I would, for example, have to use an eval-after-load in keybindings.el to avoid an error about a keymap that doesn't exist yet. Perhaps you just handle this with some autoloads?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels