summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el6
1 files 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