emacs/init.el

26 lines
821 B
EmacsLisp
Raw Normal View History

(setq user-emacs-directory "~/.config/crafted-emacs-configdir/")
(setq crafted-emacs-home "~/src/crafted-emacs/")
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(when (and custom-file
(file-exists-p custom-file))
(load custom-file nil :nomessage))
(load "~/src/crafted-emacs/modules/crafted-init-config")
(require 'crafted-completion-packages)
(require 'crafted-evil-packages)
(require 'crafted-org-packages)
(require 'crafted-ui-packages)
(package-install-selected-packages :noconfirm)
(require 'crafted-defaults-config)
(require 'crafted-startup-config)
(require 'crafted-completion-config)
(require 'crafted-ui-config)
(require 'crafted-org-config)
(require 'crafted-evil-config)
(unless crafted-startup-inhibit-splash
(setq initial-buffer-choice #'crafted-startup-screen))