Rebind/add binds for a bunch of useful consult-* commands
This commit is contained in:
parent
9defe7b742
commit
d9802d98ae
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue