summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-snakemake.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/init-snakemake.el b/lisp/init-snakemake.el
index 8902784..0cb38c4 100644
--- a/lisp/init-snakemake.el
+++ b/lisp/init-snakemake.el
@@ -21,4 +21,8 @@
(autoload 'snakemake-compile-command "snakemake-mode")
+(after 'init-external
+(define-key km/external-map "p"
+ 'km/snakemake-compile-project-file-at-point))
+
(provide 'init-snakemake)