92 lines
2.5 KiB
EmacsLisp
92 lines
2.5 KiB
EmacsLisp
;; ____ __ ____ __ __ ______ .___ ___. .______
|
|
;; \ \ / \ / / | | | | / __ \ | \/ | | _ \
|
|
;; \ \/ \/ / | |__| | | | | | | \ / | | |_) |
|
|
;; \ / | __ | | | | | | |\/| | | ___/
|
|
;; \ /\ / __ | | | | __| `--' | __| | | | __| | __
|
|
;; \__/ \__/ (__)|__| |__| (__)\______/ (__)__| |__| (__) _| (__)
|
|
|
|
(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)
|
|
|
|
;; Load shell env for POSIX shells
|
|
(use-package exec-path-from-shell
|
|
:straight t
|
|
:defer t)
|
|
(require 'exec-path-from-shell) ;; if not using the ELPA package
|
|
(setq exec-path-from-shell-arguments nil)
|
|
(exec-path-from-shell-initialize)
|
|
|
|
(setq browse-url-browser-function 'browse-url)
|
|
|
|
(setq custom-init (locate-user-emacs-file "custom-init.el"))
|
|
|
|
(unless (file-exists-p custom-init)
|
|
(whomp/ensure-file-exists custom-init))
|
|
(load-file custom-init)
|
|
|
|
(setq custom-file (locate-user-emacs-file "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)
|
|
;; note taking configuration
|
|
(require 'whomp-notes)
|
|
;; 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)))
|