From 7869360008d87ca4b459c703f4894625dd8181cc Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 26 Jan 2014 01:59:44 -0500 Subject: Follow Purcell's emacs.d structure User init files are added using provide/require. https://github.com/purcell/emacs.d --- init/km-projectile.el | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 init/km-projectile.el (limited to 'init/km-projectile.el') diff --git a/init/km-projectile.el b/init/km-projectile.el deleted file mode 100644 index 585f399..0000000 --- a/init/km-projectile.el +++ /dev/null @@ -1,27 +0,0 @@ -(projectile-global-mode) - -(setq projectile-switch-project-action 'projectile-commander) - -;; Default binding is D. -(def-projectile-commander-method ?r - "Open project root in dired." - (projectile-dired)) - -(def-projectile-commander-method ?c - "Run project compilation command." - (call-interactively 'projectile-compile-project)) - -(defun km/projectile-switch-project-to-file () - "Provide access to the of default `projectile-find-file'. - -I have set `projectile-switch-project-action' to -`projectile-commander' 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) - -(setq projectile-use-git-grep t) -- cgit v1.2.3