commit bae7f67484b802b00ae53f8fe92a6566b79dd2da
parent 609804de52f42f758f584981b0d2c8bd5e8d0384
Author: dwrz <dwrz@dwrz.net>
Date: Fri, 26 Jan 2024 15:09:41 +0000
Fix Emacs init
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/emacs/init.el b/emacs/init.el
@@ -167,15 +167,13 @@
:map minibuffer-local-map
("M-s" . consult-history)
("M-r" . consult-history))
- :requires xref
:hook (completion-list-mode . consult-preview-at-point-mode)
- :init
+ :config
(setq register-preview-delay 0
register-preview-function #'consult-register-format)
(advice-add #'register-preview :override #'consult-register-window)
(setq xref-show-xrefs-function #'consult-xref
xref-show-definitions-function #'consult-xref)
- :config
(consult-customize
consult-theme :preview-key '(:debounce 0.2 any)
consult-ripgrep consult-git-grep consult-grep
@@ -226,6 +224,7 @@
:ensure nil)
(use-package dired-hide-dotfiles
+ :after dired
:bind (:map dired-mode-map ("." . dired-hide-dotfiles-mode))
:ensure t)