Add missing requires to use-package macros
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
This commit is contained in:
parent
a82e24839c
commit
9f73e90317
19 changed files with 67 additions and 65 deletions
14
pkg/ivy.el
14
pkg/ivy.el
|
|
@ -5,9 +5,15 @@
|
|||
|
||||
(require '+custom-pkg-keys-mode "$HOME/.emacs.d/pkg/keys-mode.el")
|
||||
|
||||
(use-package counsel :straight t :defer t)
|
||||
(use-package swiper :straight t :defer t)
|
||||
|
||||
(use-package helpful :straight t :defer t)
|
||||
(use-package counsel :straight t :defer t :requires (helpful)
|
||||
:config
|
||||
;; Use helpful for showing Elisp documentation
|
||||
(setq counsel-describe-function-function #'helpful-callable)
|
||||
(setq counsel-describe-variable-function #'helpful-variable))
|
||||
|
||||
(use-package swiper :straight t :defer t)
|
||||
|
||||
(use-package ivy
|
||||
:requires (counsel swiper helpful)
|
||||
|
|
@ -19,10 +25,6 @@
|
|||
ivy-display-style 'fancy ;; Formatting style
|
||||
))
|
||||
|
||||
;; Use helpful for showing Elisp documentation
|
||||
(setq counsel-describe-function-function #'helpful-callable)
|
||||
(setq counsel-describe-variable-function #'helpful-variable)
|
||||
|
||||
(define-key +custom-keys-mode-map (kbd "C-c a") 'counsel-rg)
|
||||
(define-key +custom-keys-mode-map (kbd "C-c t") 'counsel-find-file)
|
||||
(define-key +custom-keys-mode-map (kbd "C-c C-s") 'swiper) ;; Find things by regexp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue