.emacs.d

the most bloated Emacs config on this planet
git clone https://git.trogloxene.org/.emacs.d.git
Log | Files | Refs

commit e3d858d0aac7b93a5665d4b5f5490970fece1465
parent 9360f699facbd50383eb6f22906664c19bae900f
Author: andsy10 <andsy1016@gmail.com>
Date:   Sun, 23 Aug 2026 01:38:33 +0800

Tag built-in packages with :straight nil

Diffstat:
Mlisp/init-base.el | 8++++++++
Mlisp/init-edit.el | 3+++
Mlisp/init-package.el | 2++
Mlisp/init-prog.el | 3+++
Mlisp/init-ui.el | 3+++
Mlisp/init-window.el | 1+
6 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/lisp/init-base.el b/lisp/init-base.el @@ -38,6 +38,7 @@ ;; server-mode (use-package server + :straight nil :demand t :hook (emacs-startup . (lambda () @@ -47,6 +48,7 @@ ;; recently opened files (if (or (display-graphic-p) *is-android*) (use-package recentf + :straight nil :hook (after-init . recentf-mode) :init @@ -62,6 +64,7 @@ ;; save minibuffer history (use-package savehist + :straight nil :hook (after-init . savehist-mode) :init @@ -76,6 +79,7 @@ ;; save cursor place (use-package saveplace + :straight nil :hook (after-init . save-place-mode)) @@ -90,6 +94,7 @@ ;; autorevert buffer (use-package autorevert + :straight nil :delight :hook (after-init . global-auto-revert-mode)) @@ -103,11 +108,13 @@ ;; save window changes (use-package winner + :straight nil :hook (after-init . winner-mode)) ;; ibuffer (use-package ibuffer + :straight nil :config (setq ibuffer-saved-filter-groups '(("Main" @@ -255,6 +262,7 @@ ;; eww (use-package eww + :straight nil :config (setq eww-auto-rename-buffer t)) diff --git a/lisp/init-edit.el b/lisp/init-edit.el @@ -6,16 +6,19 @@ ;; delete select (use-package delsel + :straight nil :hook (after-init . delete-selection-mode)) ;; insert paris (use-package elec-pair + :straight nil :config (setq electric-pair-inhibit-predicate 'electric-pair-conservative-inhibit)) ;; subword movement (use-package subword + :straight nil :delight :hook (after-init . global-subword-mode)) diff --git a/lisp/init-package.el b/lisp/init-package.el @@ -123,6 +123,7 @@ _a_ : all dwim ;; ediff (use-package ediff + :straight nil :config (setq ediff-window-setup-function 'ediff-setup-windows-plain ediff-split-window-function 'split-window-horizontally)) @@ -136,6 +137,7 @@ _a_ : all dwim ;; project (use-package project + :straight nil :config (setq project-switch-commands (assq-delete-all 'project-vc-dir project-switch-commands)) (setq project-switch-commands diff --git a/lisp/init-prog.el b/lisp/init-prog.el @@ -6,11 +6,13 @@ ;; hideshow (use-package hideshow + :straight nil :hook (prog-mode . hs-minor-mode)) ;; xref (use-package xref + :straight nil :autoload xref-show-definitions-completing-read :init (when (executable-find "rg") @@ -63,6 +65,7 @@ ;; html (use-package shr + :straight nil :config (setq shr-inhibit-images nil shr-use-fonts nil)) diff --git a/lisp/init-ui.el b/lisp/init-ui.el @@ -28,6 +28,7 @@ ;; line numbers (use-package display-line-numbers + :straight nil :hook (after-init . global-display-line-numbers-mode) :config @@ -69,12 +70,14 @@ ;; highlight current line (use-package hl-line + :straight nil :hook (after-init . global-hl-line-mode)) ;; display time in mode line (unless *is-android* (use-package time + :straight nil :hook (persp-mode . display-time-mode) :config diff --git a/lisp/init-window.el b/lisp/init-window.el @@ -126,6 +126,7 @@ ;; windmove (use-package windmove + :straight nil :hook (after-init . windmove-swap-states-default-keybindings))