Excise the consult package that I am not using.

This commit is contained in:
Howard Abrams 2022-03-14 08:10:41 -07:00
parent 9fa4e824da
commit a8b5dc578a

View file

@ -798,15 +798,6 @@ Let's make Info behave a little more VI-like:
"p" 'Info-backward-node
"n" 'Info-forward-node)) ; Old habit die hard
#+END_SRC
#+BEGIN_SRC emacs-lisp
(use-package consult
:config
(ha-leader
"b TAB" '("consult buffer" . consult-buffer)
"b S-TAB" '("consult buffer in window" . consult-buffer-other-window)
"s TAB" '("consult search" . consult-ripgrep)
"f TAB" '("consult file" . consult-file)))
#+END_SRC
*** Embark
The [[https://github.com/oantolin/embark/][embark]] project offers /actions/ on /targets/, however, I'm primarily thinking of acting on selected items in the minibuffer, however, they actually act anywhere. Consequently, I need an easy-to-use keybinding that doesn't conflict. Hey, that is what the Super key is for, right?
#+BEGIN_SRC emacs-lisp
@ -819,16 +810,6 @@ The [[https://github.com/oantolin/embark/][embark]] project offers /actions/ on
;; Optionally replace the key help with a completing-read interface
(setq prefix-help-command #'embark-prefix-help-command))
#+END_SRC
Consult users will also want the embark-consult package.
#+BEGIN_SRC emacs-lisp
(use-package embark-consult
:after (embark consult)
:demand t ; only necessary if you have the hook below
;; if you want to have consult previews as you move around an
;; auto-updating embark collect buffer
:hook
(embark-collect-mode . consult-preview-at-point-mode))
#+END_SRC
** Evil Snipe
Doom introduced me to [[https://github.com/hlissner/evil-snipe][evil-snipe]] which is similar to =f= and =t=, but does two characters, and can, when configured, search more than the current line: