whompmacs/init.el

58 lines
1.6 KiB
EmacsLisp
Raw Normal View History

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.
'(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)
'(tool-bar-mode nil)
'(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)
;; 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)
;; 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)
;; 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)))
(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.
)