From 14f68ac62cdc17fc339271c8a0fee8393b868f4f Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 7 Mar 2019 00:04:24 -0500 Subject: Tweak projectile configuration for upgrade Guix's projectile went from 0.14.0 to 2.0.0. --- init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 92ab61f..fd6cbd5 100644 --- a/init.el +++ b/init.el @@ -743,8 +743,8 @@ (string-prefix-p "/gnu/store/" name))) (setq projectile-ignored-project-function #'km/projectile-ignore-directory-p) - (projectile-register-project-type 'snakemake - '("Snakefile") "snakemake -p" "") + (projectile-register-project-type + 'snakemake '("Snakefile") :compile "snakemake -p") (put 'projectile-project-compilation-cmd 'safe-local-variable #'stringp) @@ -755,9 +755,11 @@ ("l" . projectile-project-buffers-other-buffer) ("q" . projectile-replace) ("s" . projectile-grep)) + (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map) ;; I'm redefining a lot of bindings, so unset pre-defined methods ;; and define everyting here. + (fset 'projectile-commander-bindings (lambda nil)) (setq projectile-commander-methods nil) (def-projectile-commander-method ?c -- cgit v1.2.3