Fixing some consult stuff

This commit is contained in:
Chris Cochrun 2021-03-05 09:10:36 -06:00
parent ec7d57ff1c
commit bbc060c36c
2 changed files with 16 additions and 6 deletions

View file

@ -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. 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 #+begin_src emacs-lisp
(use-package consult (use-package consult
:after selectrum) :after selectrum
:config
(setq consult-narrow-key "<")
:general
(chris/leader-keys
"si" 'consult-imenu
"so" 'consult-outline))
#+end_src #+end_src
#+begin_src emacs-lisp :tangle no #+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 :general
(chris/leader-keys (chris/leader-keys
"o a" 'org-agenda "o a" 'org-agenda
"c" 'org-capture "c" 'org-capture)
"so" 'consult-outline)
('normal org-agenda-mode-map ('normal org-agenda-mode-map
"q" 'org-agenda-quit "q" 'org-agenda-quit
"r" 'org-agenda-redo) "r" 'org-agenda-redo)

11
init.el
View file

@ -262,7 +262,13 @@ vertically."
:after selectrum) :after selectrum)
(use-package consult (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 (use-package marginalia
:bind (:map minibuffer-local-map :bind (:map minibuffer-local-map
@ -461,8 +467,7 @@ vertically."
:general :general
(chris/leader-keys (chris/leader-keys
"o a" 'org-agenda "o a" 'org-agenda
"c" 'org-capture "c" 'org-capture)
"so" 'consult-outline)
('normal org-agenda-mode-map ('normal org-agenda-mode-map
"q" 'org-agenda-quit "q" 'org-agenda-quit
"r" 'org-agenda-redo) "r" 'org-agenda-redo)