whompmacs/init.el

78 lines
1.8 KiB
EmacsLisp
Raw Normal View History

(when (string= system-type "darwin")
(setq dired-use-ls-dired nil))
(global-ede-mode t)
2024-07-17 17:32:13 +00:00
(global-font-lock-mode t)
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)
;; 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)
(setq custom-init "~/.emacs.d/custom-init.el")
(unless (file-exists-p custom-init)
(whomp/ensure-file-exists custom-init))
(load-file custom-init)
2024-07-14 07:18:36 +00:00
(setq custom-file "~/.emacs.d/custom-config.el")
(unless (file-exists-p custom-file)
(whomp/ensure-file-exists custom-file))
2024-07-12 23:32:01 +00:00
(load custom-file)
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)
;; 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-16 03:38:58 +00:00
;; AI configuration (temporarily removed pending consideration)
(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)
;; readers configuration
(require 'whomp-readers)
;; 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)))