I use projectile
and helm-projectile
. Sometimes I like to use helm-projectile-grep
to explore the code dynamically, and sometimes I know what I am looking for and I want the speed, and persistence of projectile-grep
.
However, when I map projectile-grep
to a key, when I use that key it seems to call helm-projectile-grep
. This is my current config:
(use-package projectile
:ensure t
:demand t
:config
(projectile-mode +1)
(define-key projectile-mode-map (kbd "s-p") 'projectile-command-map)
(setq projectile-switch-project-action 'projectile-dired)
(define-key projectile-command-map (kbd "g") 'projectile-grep))
(use-package helm-projectile
:ensure t
:demand t
:after (projectile)
:bind ("s-f" . helm-projectile-find-file)
:config
(helm-projectile-on))
How can I use separate key bindings for helm-projectile-grep
and projectile-grep
?
[remap ___]
pseudo key, i.e., how to unbind it. And the answer is to bind it tonil
.