commit 31a9f14cf3b0a86d913534f15bb3b1e05b78a99d Author: Frieder Schlesier Date: Sat Jul 15 23:28:55 2023 +0200 hereby I declare emacs bancruptcy. Restart a custom emacs configuration with crafted-emacs (using v2beta). diff --git a/custom.el b/custom.el new file mode 100644 index 0000000..7eec505 --- /dev/null +++ b/custom.el @@ -0,0 +1,62 @@ +;;; custom.el --- fschl-crafted-emacs-config -*- lexical-binding: t; -*- + +;; Copyright (C) 2023 fschl + +;; Author: fschl +;; Keywords: tools, docs +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(Man-notify-method 'aggressive t) + '(bookmark-save-flag 1 t) + '(completion-category-overrides '((file (styles partial-completion)))) + '(completion-cycle-threshold 3) + '(completions-detailed t) + '(corfu-auto t) + '(corfu-auto-delay 0.0) + '(corfu-auto-prefix 2) + '(corfu-cycle t) + '(corfu-echo-documentation 0.25 t) + '(dired-auto-revert-buffer t) + '(dired-dwim-target t) + '(ediff-window-setup-function 'ediff-setup-windows-plain t) + '(eshell-scroll-to-bottom-on-input 'this t) + '(evil-respect-visual-line-mode t) + '(evil-undo-system 'undo-redo) + '(evil-want-C-h-delete t) + '(evil-want-C-i-jump nil) + '(evil-want-integration t) + '(evil-want-keybinding nil) + '(fast-but-imprecise-scrolling t) + '(global-auto-revert-non-file-buffers t) + '(ibuffer-movement-cycle nil t) + '(ibuffer-old-time 24 t) + '(kill-do-not-save-duplicates t) + '(load-prefer-newer t t) + '(org-hide-emphasis-markers t t) + '(org-link-descriptive t t) + '(org-mouse-1-follows-link t t) + '(org-return-follows-link t t) + '(package-archive-priorities + '(("gnu" . 99) + ("nongnu" . 80) + ("stable" . 70) + ("melpa" . 0))) + '(package-selected-packages + '(magit helpful elisp-demos all-the-icons org-appear denote evil-nerd-commenter evil-collection evil vertico orderless marginalia embark-consult embark corfu-terminal corfu consult cape)) + '(scroll-conservatively 101) + '(scroll-margin 0) + '(scroll-preserve-screen-position t) + '(switch-to-buffer-in-dedicated-window 'pop) + '(switch-to-buffer-obey-display-actions t) + '(tab-always-indent 'complete) + '(vertico-cycle t) + '(xref-show-definitions-function 'xref-show-definitions-completing-read t)) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) diff --git a/early-init.el b/early-init.el new file mode 100644 index 0000000..b3c0777 --- /dev/null +++ b/early-init.el @@ -0,0 +1 @@ +(load "~/src/crafted-emacs/modules/crafted-early-init-config") diff --git a/init.el b/init.el new file mode 100644 index 0000000..ff52944 --- /dev/null +++ b/init.el @@ -0,0 +1,25 @@ +(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)) +