revert consult defer nil, broke the whole thing

This commit is contained in:
2023-06-01 07:07:05 +02:00
parent 34d55a5f84
commit a8cb7a8b98

View File

@@ -156,8 +156,6 @@ a remote file anytime and from everywhere I am by just entering :"
(use-package consult (use-package consult
:defer nil ;; the alias doesn't work otherwise
;; Replace bindings. Lazily loaded due by `use-package'. ;; Replace bindings. Lazily loaded due by `use-package'.
:bind (;; C-c bindings in `mode-specific-map' :bind (;; C-c bindings in `mode-specific-map'
("C-x b" . consult-buffer) ("C-x b" . consult-buffer)
@@ -176,7 +174,6 @@ a remote file anytime and from everywhere I am by just entering :"
(consult-widen-key ">") (consult-widen-key ">")
:config :config
(defalias 'egrep 'consult-ripgrep)
(when (fboundp 'persp-new) (when (fboundp 'persp-new)
(consult-customize consult--source-buffer :hidden t :default nil) (consult-customize consult--source-buffer :hidden t :default nil)
@@ -191,6 +188,8 @@ a remote file anytime and from everywhere I am by just entering :"
(push consult--source-perspective consult-buffer-sources))) (push consult--source-perspective consult-buffer-sources)))
;; needs to be defined outside
(defalias 'egrep 'consult-ripgrep)
;; change directory while opening a file etc ;; change directory while opening a file etc
(use-package consult-dir (use-package consult-dir