Compare commits

..

3 Commits

Author SHA1 Message Date
ca32065fb8
Do not require helm anymore
It's only used for EMMS.
2025-08-07 17:59:24 +02:00
c2581cfb49
Use helm only for EMMS
Reeducate my muscle memory to not use the other bindings anymore.
2025-08-07 17:58:13 +02:00
100fa46df5
Collect minibuffer customizations in separate declaration 2025-08-07 17:41:02 +02:00

17
init.el
View File

@ -298,6 +298,12 @@
(use-package man
:init (setopt Man-switches "-a"))
(use-package minibuffer
:bind (:map minibuffer-mode-map
("M-r" . consult-history)
("C-r" . consult-history))
:hook (minibuffer-setup . cursor-intangible-mode))
(use-package multisession
:init (setq multisession-directory (expand-file-name "multisession/" emacs-d-userdata)))
@ -2383,11 +2389,7 @@ Note that this workaround is incomplete, as explained in this comment."
completion-in-region-function #'consult-completion-in-region)
(use-package helm
:ensure t
:bind (:map helm-command-map
("#" . helm-emms))
:init (setopt helm-command-prefix-key "C-c h" ; see `db/run-init' for explicit binding
))
:init (setopt helm-command-prefix-key nil))
(use-package recentf
:commands (recentf-mode recentf-save-list)
@ -3038,7 +3040,6 @@ Note that this workaround is incomplete, as explained in this comment."
;; Global Hooks (XXX: should be moved outside of this init function)
(add-hook 'minibuffer-setup-hook 'cursor-intangible-mode)
(add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)
;; Top-Level Keybindings
@ -3069,6 +3070,7 @@ Note that this workaround is incomplete, as explained in this comment."
(bind-key "C-c c" #'org-capture)
(bind-key "C-c d" #'define-word-at-point)
(bind-key "C-c e" #'crux-eval-and-replace)
(bind-key "C-c h #" #'helm-emms)
(bind-key "C-c i" #'ispell-change-dictionary)
(bind-key "C-c j" #'avy-goto-char-timer)
(bind-key "C-c l" #'org-store-link)
@ -3110,9 +3112,6 @@ Note that this workaround is incomplete, as explained in this comment."
(bind-key "M-j" #'(lambda () (interactive) (join-line -1)))
(bind-key "M-z" #'zap-up-to-char)
(bind-key "M-r" #'consult-history minibuffer-mode-map)
(bind-key "C-r" #'consult-history minibuffer-mode-map)
(bind-key [remap fill-paragraph] #'endless/fill-or-unfill)
(bind-key [remap keyboard-quit] #'keyboard-quit-context+)
(bind-key [remap kill-whole-line] #'crux-kill-whole-line)