Compare commits

..

No commits in common. "ffe7eaf727ffb58b1c7b93705b2950d630594e46" and "9f52c576b287f0fe009cd65cd8a55734993fc2c9" have entirely different histories.

3 changed files with 10 additions and 19 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
*.elc
/elpa/*
!/elpa/diminish-[0-9]*
!/elpa/bind-key-[0-9]*
!/elpa/dash-[0-9]*
!/elpa/hydra-[0-9]*

12
init.el
View File

@ -389,9 +389,6 @@
db/define-feature-shortcuts-hydra
hydra-feature-shortcuts/body))
(use-package diminish
:ensure t)
(use-package exec-path-from-shell
:pin "melpa-stable"
:commands (exec-path-from-shell-copy-envs))
@ -1937,6 +1934,11 @@ Note that this workaround is incomplete, as explained in this comment."
sml/name-width 30)
:commands (sml/setup))
(use-package minions
:ensure t
:commands (minions-mode)
:init (setq minions-mode-line-lighter ""))
(use-package moody
:ensure t
:commands (moody-replace-mode-line-buffer-identification
@ -2982,12 +2984,14 @@ eventuelly be set to nil, however)."
minibuffer-depth-indicate-mode
ace-window-display-mode
key-chord-mode
minions-mode
which-key-mode
projectile-mode
yas-global-mode
global-git-commit-mode
marginalia-mode
vertico-mode))
vertico-mode
))
(with-demoted-errors "Cannot activate mode: %s"
(funcall mode +1)))

View File

@ -637,20 +637,6 @@ quite sure whether something like this exists already?"
(funcall entry)
entry)))
;; From https://protesilaos.com/codelog/2020-08-03-emacs-custom-functions-galore/, where it has been
;; based on `windower' by Pierre Neidhardt (ambrevar on GitLab); pointer by
;; https://sachachua.com/blog/2024/12/emacs-tv/
(let (saved-window-configuration)
(define-minor-mode db/window-single-toggle
"Toggle between multiple windows and single window."
:lighter " Z"
:global nil
(if (one-window-p)
(when saved-window-configuration
(set-window-configuration saved-window-configuration))
(setq saved-window-configuration (current-window-configuration))
(delete-other-windows))))
;;; Base45 Decoding