Skip to content

Instantly share code, notes, and snippets.

@threeve
Created November 12, 2016 05:48
Show Gist options
  • Save threeve/9d68bb82fd885b9a028a740f3727fa81 to your computer and use it in GitHub Desktop.
Save threeve/9d68bb82fd885b9a028a740f3727fa81 to your computer and use it in GitHub Desktop.

(use-package magit-find-file :ensure t :after magit :config (with-eval-after-load ‘projectile (defadvice projectile-current-project-files (around jafo/pcpf activate) “Use magit-find-file-files which is faster.” (if (magit-git-repo-p (projectile-project-root)) (setq ad-return-value (magit-find-file-files)) ad-do-it))))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment