Add and configure the consult-projectile package
This commit is contained in:
parent
927753fbd5
commit
4d59042b60
@ -2070,7 +2070,18 @@ It also provides some nice commands to navigate between change sets.
|
|||||||
** ~consult-projectile~
|
** ~consult-projectile~
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package consult-projectile)
|
(use-package consult-projectile
|
||||||
|
:demand t
|
||||||
|
:after (:all projectile consult embark)
|
||||||
|
:config
|
||||||
|
(defvar-keymap embark-consult-projectile-project-map
|
||||||
|
:doc "Keymap to use for the projectile menu"
|
||||||
|
:parent embark-general-map
|
||||||
|
"g" #'magit-status)
|
||||||
|
(add-to-list 'embark-keymap-alist '(consult-projectile-project embark-consult-projectile-project-map))
|
||||||
|
(autoload 'magit-status "magit")
|
||||||
|
:bind (:map projectile-command-map
|
||||||
|
("p" . consult-projectile-switch-project)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Org mode
|
* Org mode
|
||||||
@ -3134,6 +3145,8 @@ Because that’s still my favourite language.
|
|||||||
("M-t" . gpolonkai/transpose-map)
|
("M-t" . gpolonkai/transpose-map)
|
||||||
("C-z" . nil)
|
("C-z" . nil)
|
||||||
:map mode-specific-map
|
:map mode-specific-map
|
||||||
|
;; TODO this should be doable from consult-projectile’s config
|
||||||
|
("p p" . consult-projectile-switch-project)
|
||||||
("r" . gpolonkai/round-number-at-point-to-decimals)
|
("r" . gpolonkai/round-number-at-point-to-decimals)
|
||||||
:map gpolonkai/transpose-map
|
:map gpolonkai/transpose-map
|
||||||
("c" . transpose-chars)
|
("c" . transpose-chars)
|
||||||
|
Loading…
Reference in New Issue
Block a user