diff options
-rw-r--r-- | init.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |