(projectile-global-mode) (setq projectile-switch-project-action 'km/projectile-magit-status) (defun km/projectile-magit-status () (magit-status (projectile-project-root))) (defun km/projectile-switch-project-to-file () "Provide access to the of default `projectile-find-file'. I have set `projectile-switch-project-action' to `km/projectile-magit-status' but would still like quick access to `projectile-find-file'" (interactive) (let ((projectile-switch-project-action 'projectile-find-file)) (projectile-switch-project))) (define-key projectile-mode-map (kbd "C-c p j") 'km/projectile-switch-project-to-file)