use-package
use-package copied to clipboard
projectile key options are not shown in the first try
Hi,
I am using the following configuration in projectile:
(use-package projectile
:ensure t
:init
(setq projectile-completion-system 'ivy)
:bind-keymap
("C-c C-p" . projectile-command-map)
:config
(projectile-mode 1))
When I press C-c C-p
projectile is activated but the key options are not shown.
If I then press C-c C-p
the minibuffer shows projectile key options as expected.
Any suggestion? Thanks
Seems related to https://github.com/jwiegley/use-package/issues/685. Perhaps the :bind (:prefix-map ...)
will accomplish what you are looking for?
I have ran into the same issue. This gives the issue stated above:
(use-package projectile
:bind (:map leader-map
("p" . projectile-command-map)))
And this code:
(use-package projectile
:bind-keymap (:map leader-map
("p" . projectile-command-map)))
Gives this error:
Error (use-package): Failed to parse package projectile: Wrong type argument: listp, :map