Rebind/add binds for a bunch of useful consult-* commands

This commit is contained in:
Evie Litherland-Smith 2023-11-09 11:10:42 +00:00
parent 9defe7b742
commit d9802d98ae
2 changed files with 22 additions and 2 deletions

View file

@ -490,8 +490,18 @@ manually with something like this:
(use-package consult
:ensure t
:bind (("C-s" . consult-line)
("<remap> <imenu>" . consult-imenu )
("<remap> <switch-to-buffer>" . consult-buffer)
("<remap> <project-switch-to-buffer>" . consult-project-buffer)
("C-c s s" . consult-line)
("C-c s f" . consult-fd)
("C-c s g" . consult-ripgrep)
("C-c s e" . consult-flymake)
("C-c s t" . consult-theme)
:map minibuffer-local-map
("C-r" . consult-history))
("C-r" . consult-history)
:map org-mode-map
("<remap> <org-goto>" . consult-org-heading))
:config (setq completion-in-region-function #'consult-completion-in-region))
(use-package embark

View file

@ -573,8 +573,18 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
(use-package consult
:ensure t
:bind (("C-s" . consult-line)
("<remap> <imenu>" . consult-imenu )
("<remap> <switch-to-buffer>" . consult-buffer)
("<remap> <project-switch-to-buffer>" . consult-project-buffer)
("C-c s s" . consult-line)
("C-c s f" . consult-fd)
("C-c s g" . consult-ripgrep)
("C-c s e" . consult-flymake)
("C-c s t" . consult-theme)
:map minibuffer-local-map
("C-r" . consult-history))
("C-r" . consult-history)
:map org-mode-map
("<remap> <org-goto>" . consult-org-heading))
:config (setq completion-in-region-function #'consult-completion-in-region))
#+end_src