diff --git a/init.el b/init.el index df7469b..b6134d6 100644 --- a/init.el +++ b/init.el @@ -6,15 +6,15 @@ (add-to-list 'load-path (concat user-emacs-directory "lisp/")) -(require 'custom-early-init) -(require 'custom-package-setup) -(require 'custom-binds) -(require 'custom-init) -(require 'custom-functions) -(require 'custom-exwm) -(require 'custom-ligatures) -(require 'custom-packages) -(require 'custom-packages-config) +(require '01-custom-early-init) +(require '02-custom-package-setup) +(require '03-custom-binds) +(require '04-custom-init) +(require '05-custom-functions) +(require '06-custom-exwm) +(require '07-custom-ligatures) +(require '08-custom-packages) +(require '09-custom-packages-config) (server-start) diff --git a/lisp/custom-early-init.el b/lisp/01-custom-early-init.el similarity index 88% rename from lisp/custom-early-init.el rename to lisp/01-custom-early-init.el index fdbb0b3..fe75610 100644 --- a/lisp/custom-early-init.el +++ b/lisp/01-custom-early-init.el @@ -1,4 +1,4 @@ -;;; custom-early-init --- Provide early init vars +;;; 01-custom-early-init --- Provide early init vars ;;; Commentary: @@ -30,5 +30,5 @@ Elements have the form ((KEY . [MAP]) CMD ORIGINAL-CMD)") gc-cons-percentage 0.1) (garbage-collect)) t) -(provide 'custom-early-init) -;;; custom-early-init.el ends here +(provide '01-custom-early-init) +;;; 01-custom-early-init.el ends here diff --git a/lisp/custom-package-setup.el b/lisp/02-custom-package-setup.el similarity index 92% rename from lisp/custom-package-setup.el rename to lisp/02-custom-package-setup.el index 2b95ea6..eb33c73 100644 --- a/lisp/custom-package-setup.el +++ b/lisp/02-custom-package-setup.el @@ -1,4 +1,4 @@ -;;; custom-package-setup --- Provide setup for packages and use-package +;;; 02-custom-package-setup --- Provide setup for packages and use-package ;;; Commentary: ;; Configure Melpa @@ -56,5 +56,5 @@ :prefix "C-c h") ) -(provide 'custom-package-setup) -;;; custom-package-setup.el ends here +(provide '02-custom-package-setup) +;;; 02-custom-package-setup.el ends here diff --git a/lisp/custom-binds.el b/lisp/03-custom-binds.el similarity index 78% rename from lisp/custom-binds.el rename to lisp/03-custom-binds.el index 0d15c44..3ba9c72 100644 --- a/lisp/custom-binds.el +++ b/lisp/03-custom-binds.el @@ -1,4 +1,4 @@ -;;; custom-binds --- A set of custom key bindings +;;; 03-custom-binds --- A set of custom key bindings ;;; Commentary: @@ -14,5 +14,5 @@ (bind-key "" 'ansi-term) (bind-key "C-c r" '(lambda () (interactive) (load-file user-init-file))) -(provide 'custom-binds) -;;; custom-binds.el ends here +(provide '03-custom-binds) +;;; 03-custom-binds.el ends here diff --git a/lisp/custom-init.el b/lisp/04-custom-init.el similarity index 94% rename from lisp/custom-init.el rename to lisp/04-custom-init.el index 78ffef0..7103d43 100644 --- a/lisp/custom-init.el +++ b/lisp/04-custom-init.el @@ -1,4 +1,4 @@ -;;; custom-init --- Provide custom basic init for emacs +;;; 04-custom-init --- Provide custom basic init for emacs ;;; Commentary: @@ -67,5 +67,5 @@ "Display startup echo area message." (message "Initialized in %s" (emacs-init-time))) -(provide 'custom-init) -;;; custom-init.el ends here +(provide '04-custom-init) +;;; 04-custom-init.el ends here diff --git a/lisp/custom-functions.el b/lisp/05-custom-functions.el similarity index 96% rename from lisp/custom-functions.el rename to lisp/05-custom-functions.el index 9bd5a92..72e49a7 100644 --- a/lisp/custom-functions.el +++ b/lisp/05-custom-functions.el @@ -1,4 +1,4 @@ -;;; custom-functions --- custom functions prefixed with "leo/" +;;; 05-custom-functions --- custom functions prefixed with "leo/" ;;; Commentary: @@ -100,5 +100,5 @@ (message mode)) ) -(provide 'custom-functions) -;;; custom-functions.el ends here +(provide '05-custom-functions) +;;; 05-custom-functions.el ends here diff --git a/lisp/custom-exwm.el b/lisp/06-custom-exwm.el similarity index 97% rename from lisp/custom-exwm.el rename to lisp/06-custom-exwm.el index 6e1f28f..e48d870 100644 --- a/lisp/custom-exwm.el +++ b/lisp/06-custom-exwm.el @@ -1,4 +1,4 @@ -;;; custom-exwm --- Provide EXWM specific config +;;; 06-custom-exwm --- Provide EXWM specific config ;;; Commentary: @@ -134,5 +134,5 @@ ) ) -(provide 'custom-exwm) -;;; custom-exwm.el ends here +(provide '06-custom-exwm) +;;; 06-custom-exwm.el ends here diff --git a/lisp/custom-ligatures.el b/lisp/07-custom-ligatures.el similarity index 98% rename from lisp/custom-ligatures.el rename to lisp/07-custom-ligatures.el index b822b28..c095228 100644 --- a/lisp/custom-ligatures.el +++ b/lisp/07-custom-ligatures.el @@ -1,4 +1,4 @@ -;;; custom-ligatures --- PragmataPro specific ligatures +;;; 07-custom-ligatures --- PragmataPro specific ligatures ;;; Commentary: ;; Enable ligatures without prettify-symbols @@ -366,5 +366,5 @@ (add-hook 'emacs-lisp-mode-hook #'add-pragmatapro-symbol-keywords) -(provide 'custom-ligatures) -;;; custom-ligatures.el ends here +(provide '07-custom-ligatures) +;;; 07-custom-ligatures.el ends here diff --git a/lisp/custom-packages.el b/lisp/08-custom-packages.el similarity index 99% rename from lisp/custom-packages.el rename to lisp/08-custom-packages.el index 7f0a454..ad960c6 100644 --- a/lisp/custom-packages.el +++ b/lisp/08-custom-packages.el @@ -1,4 +1,4 @@ -;;; custom-packages --- Provide all the use-package declarations +;;; 08-custom-packages --- Provide all the use-package declarations ;;; Commentary: ;; @@ -638,5 +638,5 @@ :full-and-display-names t)) -(provide 'custom-packages) -;;; custom-packages.el ends here +(provide '08-custom-packages) +;;; 08-custom-packages.el ends here diff --git a/lisp/09-custom-packages-config.el b/lisp/09-custom-packages-config.el new file mode 100644 index 0000000..a49823c --- /dev/null +++ b/lisp/09-custom-packages-config.el @@ -0,0 +1,17 @@ +;;; 09-custom-packages-config --- Provide all the config that doesn't fit in use-package + +;;; Commentary: + +;;; Code: + + +;; Diminish +(diminish 'eldoc-mode) +(diminish 'subword-mode) + +;; Dired +(setq list-directory-brief-switches "-al") + + +(provide '09-custom-packages-config) +;;; 09-custom-packages-config.el ends here diff --git a/lisp/custom-packages-config.el b/lisp/custom-packages-config.el deleted file mode 100644 index dd3d5a1..0000000 --- a/lisp/custom-packages-config.el +++ /dev/null @@ -1,17 +0,0 @@ -;;; custom-packages-config --- Provide all the config that doesn't fit in use-package - -;;; Commentary: - -;;; Code: - - -;; Diminish -(diminish 'eldoc-mode) -(diminish 'subword-mode) - -;; Dired -(setq list-directory-brief-switches "-al") - - -(provide 'custom-packages-config) -;;; custom-packages-config.el ends here