2024-07-14 07:31:15 +00:00
|
|
|
(setq custom-init "~/.emacs.d/custom-init.el")
|
|
|
|
|
|
|
|
(unless (file-exists-p custom-init)
|
|
|
|
(dired-create-empty-file custom-init))
|
|
|
|
(load-file custom-init)
|
2024-07-14 07:18:36 +00:00
|
|
|
|
2024-07-05 05:48:54 +00:00
|
|
|
;; custom set stuff
|
|
|
|
(custom-set-variables
|
|
|
|
;; custom-set-variables was added by Custom.
|
|
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
|
|
;; Your init file should contain only one such instance.
|
|
|
|
;; If there is more than one, they won't work right.
|
2024-07-11 15:05:04 +00:00
|
|
|
'(desktop-save-mode t)
|
2024-07-08 06:04:09 +00:00
|
|
|
'(mouse-drag-and-drop-region t)
|
|
|
|
'(mouse-drag-and-drop-region-cross-program t)
|
2024-07-06 15:43:51 +00:00
|
|
|
'(tool-bar-mode nil)
|
2024-07-11 15:05:04 +00:00
|
|
|
'(visible-bell 1))
|
2024-07-05 05:48:54 +00:00
|
|
|
|
2024-07-14 07:18:36 +00:00
|
|
|
(setq custom-file "~/.emacs.d/custom-config.el")
|
|
|
|
|
|
|
|
(unless (file-exists-p custom-file)
|
2024-07-14 07:31:15 +00:00
|
|
|
(dired-create-empty-file custom-file))
|
2024-07-12 23:32:01 +00:00
|
|
|
(load custom-file)
|
|
|
|
|
|
|
|
;; whomp helpers
|
|
|
|
(require 'whomp-helpers)
|
|
|
|
;; whomp config
|
|
|
|
(require 'whomp-configuration)
|
|
|
|
;; whomp defaults
|
|
|
|
(require 'whomp-defaults)
|
2024-07-05 05:48:54 +00:00
|
|
|
;; theme configuration
|
2024-07-12 23:32:01 +00:00
|
|
|
(require 'whomp-interface)
|
2024-07-10 08:34:45 +00:00
|
|
|
;; file browser configuration
|
2024-07-12 23:32:01 +00:00
|
|
|
(require 'whomp-file-browser)
|
2024-07-05 05:48:54 +00:00
|
|
|
;; company configuration
|
2024-07-12 23:32:01 +00:00
|
|
|
(require 'whomp-completion)
|
2024-07-10 08:34:45 +00:00
|
|
|
;; development configuration
|
2024-07-12 23:32:01 +00:00
|
|
|
(require 'whomp-development)
|
2024-07-13 18:35:50 +00:00
|
|
|
;; AI configuration
|
|
|
|
(require 'whomp-ai)
|
2024-07-05 05:48:54 +00:00
|
|
|
;; org configuration
|
2024-07-12 23:32:01 +00:00
|
|
|
(require 'whomp-orgmode)
|
2024-07-05 16:38:12 +00:00
|
|
|
;; dashboard
|
2024-07-12 23:32:01 +00:00
|
|
|
(require 'whomp-dashboard)
|
2024-07-10 08:55:23 +00:00
|
|
|
|
|
|
|
;; now that everything is loaded, let's load all the user configurations
|
2024-07-14 07:18:36 +00:00
|
|
|
|
2024-07-12 23:32:01 +00:00
|
|
|
(let ((user-config (whomp/list-files-with-extension "~/.emacs.d/whomp.d" "el")))
|
2024-07-10 08:55:23 +00:00
|
|
|
(dolist (config user-config)
|
2024-07-14 07:18:36 +00:00
|
|
|
(load-file config)))
|
|
|
|
|
2024-07-11 15:05:04 +00:00
|
|
|
(custom-set-faces
|
|
|
|
;; custom-set-faces was added by Custom.
|
|
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
|
|
;; Your init file should contain only one such instance.
|
|
|
|
;; If there is more than one, they won't work right.
|
|
|
|
)
|