|
@ -799,6 +799,7 @@ Orderless orders the suggestions by recency. The package prescient orders by fre |
|
|
|
|
|
|
|
|
* Consult |
|
|
* Consult |
|
|
[[https://github.com/minad/consult][Github]] |
|
|
[[https://github.com/minad/consult][Github]] |
|
|
|
|
|
Default preview key: M-. |
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
#+begin_src emacs-lisp |
|
|
(use-package consult |
|
|
(use-package consult |
|
@ -806,19 +807,19 @@ Orderless orders the suggestions by recency. The package prescient orders by fre |
|
|
:bind |
|
|
:bind |
|
|
(("C-x C-r" . consult-recent-file) |
|
|
(("C-x C-r" . consult-recent-file) |
|
|
("C-x b" . consult-buffer) |
|
|
("C-x b" . consult-buffer) |
|
|
("C-s" . consult-line)) |
|
|
|
|
|
|
|
|
("C-s" . consult-line) |
|
|
|
|
|
("C-x r b" . consult-bookmark)) ;replace bookmark-jump |
|
|
:config |
|
|
:config |
|
|
;; disable preview for some commands and buffers |
|
|
;; disable preview for some commands and buffers |
|
|
;; and enable it by M-. |
|
|
;; and enable it by M-. |
|
|
;; see https://github.com/minad/consult#use-package-example |
|
|
;; see https://github.com/minad/consult#use-package-example |
|
|
(consult-customize |
|
|
(consult-customize |
|
|
consult-theme |
|
|
|
|
|
:preview-key '(debounce 0.2 any) |
|
|
|
|
|
|
|
|
consult-theme :preview-key '(debounce 0.2 any) |
|
|
consult-ripgrep consult-git-grep consult-grep |
|
|
consult-ripgrep consult-git-grep consult-grep |
|
|
consult-bookmark consult-recent-file consult-xref |
|
|
consult-bookmark consult-recent-file consult-xref |
|
|
consult--source-bookmark consult--source-file-register |
|
|
consult--source-bookmark consult--source-file-register |
|
|
consult--source-recent-file consult--source-project-recent-file |
|
|
consult--source-recent-file consult--source-project-recent-file |
|
|
:preview-key "M-.")) |
|
|
|
|
|
|
|
|
:preview-key '(:debounce 0.2 any))) |
|
|
#+end_src |
|
|
#+end_src |
|
|
|
|
|
|
|
|
* Marginalia |
|
|
* Marginalia |
|
|