whompmacs/init.el

78 lines
1.8 KiB
EmacsLisp

(when (string= system-type "darwin")
(setq dired-use-ls-dired nil))
(global-ede-mode t)
(global-font-lock-mode t)
;; Remembering minibuffer prompt history
(setq history-length 25)
(savehist-mode 1)
;; 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)
;; 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)
(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)
(setq custom-file "~/.emacs.d/custom-config.el")
(unless (file-exists-p custom-file)
(whomp/ensure-file-exists custom-file))
(load custom-file)
;; whomp config
(require 'whomp-configuration)
;; whomp defaults
(require 'whomp-defaults)
;; theme configuration
(require 'whomp-interface)
;; file browser configuration
(require 'whomp-file-browser)
;; company configuration
(require 'whomp-completion)
;; development configuration
(require 'whomp-development)
;; AI configuration (temporarily removed pending consideration)
(require 'whomp-ai)
;; social media configuration
(require 'whomp-social)
;; games configuration
(require 'whomp-games)
;; org configuration
(require 'whomp-orgmode)
;; readers configuration
(require 'whomp-readers)
;; dashboard
(require 'whomp-dashboard)
;; now that everything is loaded, let's load all the user configurations
(let ((user-config (whomp/list-files-with-extension "~/.emacs.d/whomp.d" "el")))
(dolist (config user-config)
(load-file config)))