I have a keybinding that's bounded to
(define-key evil-normal-state-map (kbd "<f9>") 'helm-for-files)
But when I enter a directory which is a project (to being recognized with
.projectile file), then I would like to change the keybinding to the following:
(define-key evil-normal-state-map (kbd "<f9>") 'helm-projectile).
But when I enter another directory without any project files, then revert back to the default
I looked if there a hook for Projectile exists, but athere isn't any hook available. Any other suggestions, to detect if I'm currently in a Projectile directory?