doom: Use a C-: as global keybinding for consult-imenu

org-mode unset somehow is not consistent, and I'm sick of making this
work now. So screw it, this is how its going to be now.
This commit is contained in:
Payas Relekar 2023-11-15 21:18:42 +05:30
parent 9de98a21a4
commit 9dba19c6e8

View file

@ -394,12 +394,6 @@ As such, relying on imperative config evaluation can turn into gotchas. While th
(require 'ffap)
(setq! org-fold-core-style 'overlays)
:config
(keymap-unset org-mode-map "C-'")
(keymap-unset org-mode-map "C-,")
(map!
:map org-mode-map
:after (consult org)
:desc "imenu" :g "C-'" #'consult-imenu)
(setq! org-directory global-org-directory
org-archive-location (concat org-directory "archive/%s_archive::")
org-archive-subtree-add-inherited-tags t
@ -912,7 +906,14 @@ All the modifications that are necessary enough to exist, but not big enough to
(map! :leader (:desc "avy"
:g "/" #'avy-goto-char-timer)))
#+end_src
** Consult
#+begin_src emacs-lisp :lexical t
(after! consult
(map!
:map global-map
:after (consult)
:desc "imenu" :g "C-:" #'consult-imenu))
#+end_src
** Ctrlf
#+begin_src emacs-lisp :lexical t
(use-package! ctrlf