2024-12-10 20:35:11 +00:00
|
|
|
(when (string= system-type "darwin")
|
|
|
|
(setq dired-use-ls-dired nil))
|
|
|
|
|
2024-07-15 21:06:52 +00:00
|
|
|
(global-ede-mode t)
|
2024-07-17 17:32:13 +00:00
|
|
|
(global-font-lock-mode t)
|
2024-07-15 21:06:52 +00:00
|
|
|
|
2024-12-22 03:23:51 +00:00
|
|
|
;; Remembering minibuffer prompt history
|
|
|
|
(setq history-length 25)
|
|
|
|
(savehist-mode 1)
|
|
|
|
|
2024-12-06 21:40:01 +00:00
|
|
|
;; Save and restore the place in the file
|
|
|
|
(save-place-mode 1)
|
|
|
|
|
|
|
|
;; Remember recently edited files
|
|
|
|
(recentf-mode 1)
|
|
|
|
|
|
|
|
;; Show closing parens
|
|
|
|
(show-paren-mode 1)
|
|
|
|
|
|
|
|
;; Short answers enabled
|
|
|
|
(setq use-short-answers t)
|
|
|
|
|
2024-07-15 21:06:52 +00:00
|
|
|
;; whomp helpers
|
|
|
|
(require 'whomp-helpers)
|
|
|
|
|
2024-12-22 03:23:51 +00:00
|
|
|
;; Keyboard, rather than GUI, focus
|
|
|
|
(setq use-dialog-box nil)
|
|
|
|
|
|
|
|
;; Auto revert buffers when changed outside Emacs
|
|
|
|
(global-auto-revert-mode 1)
|
|
|
|
(setq global-auto-revert-non-file-buffers t)
|
|
|
|
|
2024-12-06 21:40:01 +00:00
|
|
|
(setq browse-url-browser-function 'browse-url)
|
2024-07-15 21:06:52 +00:00
|
|
|
|
2024-12-22 04:05:52 +00:00
|
|
|
(setq custom-init (locate-user-emacs-file "custom-init.el"))
|
2024-07-15 21:06:52 +00:00
|
|
|
|
|
|
|
(unless (file-exists-p custom-init)
|
|
|
|
(whomp/ensure-file-exists custom-init))
|
|
|
|
(load-file custom-init)
|
|
|
|
|
2024-12-22 04:05:52 +00:00
|
|
|
(setq custom-file (locate-user-emacs-file "custom-config.el"))
|
2024-07-14 07:18:36 +00:00
|
|
|
|
|
|
|
(unless (file-exists-p custom-file)
|
2024-07-15 21:06:52 +00:00
|
|
|
(whomp/ensure-file-exists custom-file))
|
2024-07-12 23:32:01 +00:00
|
|
|
(load custom-file)
|
|
|
|
|
2024-07-15 21:06:52 +00:00
|
|
|
|
2024-07-12 23:32:01 +00:00
|
|
|
;; 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-16 03:38:58 +00:00
|
|
|
;; AI configuration (temporarily removed pending consideration)
|
2024-07-18 12:47:45 +00:00
|
|
|
(require 'whomp-ai)
|
|
|
|
;; social media configuration
|
|
|
|
(require 'whomp-social)
|
2024-07-17 17:32:13 +00:00
|
|
|
;; games configuration
|
|
|
|
(require 'whomp-games)
|
2024-07-05 05:48:54 +00:00
|
|
|
;; org configuration
|
2024-07-12 23:32:01 +00:00
|
|
|
(require 'whomp-orgmode)
|
2024-12-04 12:47:35 +00:00
|
|
|
;; readers configuration
|
|
|
|
(require 'whomp-readers)
|
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)))
|