Try consult-org-heading' since org-goto' fails with my headlines

This commit is contained in:
Gerard Vermeulen 2024-02-05 19:17:28 +01:00
parent b3323461ca
commit 62ec3d47f5

View File

@ -1649,6 +1649,7 @@ completion function [[info:elisp#Minibuffer Completion][completing-read]]. List
| consult-mark | goto-map | {{{kbd(M-g m)}}} |
| consult-mode-command | global-map | {{{kbd(C-c m)}}} |
| consult-multi-occur | search-map | {{{kbd(M-s m)}}} |
| consult-org-heading | org-mode-map | {{{kbd(C-c C-h)}}} |
| consult-outline | goto-map | {{{kbd(M-g o)}}} |
| consult-register | ctl-x-r-keymap | {{{kbd(C-x r x)}}} |
| consult-yank-pop | global-map | {{{kbd(M-y)}}} |
@ -1663,6 +1664,7 @@ completion function [[info:elisp#Minibuffer Completion][completing-read]]. List
| org-agenda | global-map | {{{kbd(C-c a)}}} |
| org-capture | global-map | {{{kbd(C-c c)}}} |
| org-cite | org-mode-map | {{{kbd(C-c b)}}} |
| org-goto | org-goto | {{{kbd(C-c C-j)}}} |
| org-insert-link-global | global-map | {{{kbd(C-c C-l)}}} |
| org-narrow-to-table | ctl-x-keymap | {{{kbd(C-x n t)}}} |
| org-store-link | global-map | {{{kbd(C-c l)}}} |
@ -1692,6 +1694,8 @@ completion function [[info:elisp#Minibuffer Completion][completing-read]]. List
(keymap-set goto-map "k" #'consult-global-mark)
(keymap-set goto-map "i" #'consult-imenu)
(keymap-set goto-map "e" #'consult-compile-error)
(with-eval-after-load 'org
(keymap-set org-mode-map "C-c C-h" #'consult-org-heading))
;; M-s bindings (search-map)
(keymap-set search-map "g" #'consult-git-grep)
(keymap-set search-map "f" #'consult-find)