Don't depend on org-mode being loaded for consult maps
This commit is contained in:
parent
1a65f52bef
commit
9260a84bbc
|
@ -500,15 +500,14 @@ manually with something like this:
|
|||
("<remap> <imenu>" . consult-imenu )
|
||||
("<remap> <switch-to-buffer>" . consult-buffer)
|
||||
("<remap> <project-switch-to-buffer>" . consult-project-buffer)
|
||||
("<remap> <org-goto>" . consult-org-heading)
|
||||
("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)
|
||||
:map org-mode-map
|
||||
("<remap> <org-goto>" . consult-org-heading))
|
||||
("C-r" . consult-history))
|
||||
:config (setq completion-in-region-function #'consult-completion-in-region))
|
||||
|
||||
(use-package embark
|
||||
|
|
|
@ -583,15 +583,14 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
("<remap> <imenu>" . consult-imenu )
|
||||
("<remap> <switch-to-buffer>" . consult-buffer)
|
||||
("<remap> <project-switch-to-buffer>" . consult-project-buffer)
|
||||
("<remap> <org-goto>" . consult-org-heading)
|
||||
("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)
|
||||
:map org-mode-map
|
||||
("<remap> <org-goto>" . consult-org-heading))
|
||||
("C-r" . consult-history))
|
||||
:config (setq completion-in-region-function #'consult-completion-in-region))
|
||||
#+end_src
|
||||
|
||||
|
|
Loading…
Reference in a new issue