diff --git a/README.org b/README.org index a915a74c..1b500d65 100644 --- a/README.org +++ b/README.org @@ -457,7 +457,13 @@ This is similar but using mini-frame. Mini-frame works well, but not if using ex Consult has a lot of nice functions like Ivy's Counsel functions (enhanced searching functions), lets set some of them in the keymap so they are easily used. #+begin_src emacs-lisp (use-package consult - :after selectrum) + :after selectrum + :config + (setq consult-narrow-key "<") + :general + (chris/leader-keys + "si" 'consult-imenu + "so" 'consult-outline)) #+end_src #+begin_src emacs-lisp :tangle no @@ -712,8 +718,7 @@ Part of this config includes some special capture templates for my work as a you :general (chris/leader-keys "o a" 'org-agenda - "c" 'org-capture - "so" 'consult-outline) + "c" 'org-capture) ('normal org-agenda-mode-map "q" 'org-agenda-quit "r" 'org-agenda-redo) diff --git a/init.el b/init.el index f7456d29..e531fb0f 100644 --- a/init.el +++ b/init.el @@ -262,7 +262,13 @@ vertically." :after selectrum) (use-package consult - :after selectrum) + :after selectrum + :config + (setq consult-narrow-key "<") + :general + (chris/leader-keys + "si" 'consult-imenu + "so" 'consult-outline)) (use-package marginalia :bind (:map minibuffer-local-map @@ -461,8 +467,7 @@ vertically." :general (chris/leader-keys "o a" 'org-agenda - "c" 'org-capture - "so" 'consult-outline) + "c" 'org-capture) ('normal org-agenda-mode-map "q" 'org-agenda-quit "r" 'org-agenda-redo)