aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom/config.org
diff options
context:
space:
mode:
Diffstat (limited to 'config/doom/config.org')
-rw-r--r--config/doom/config.org13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/doom/config.org b/config/doom/config.org
index b612de2..44f59b0 100644
--- a/config/doom/config.org
+++ b/config/doom/config.org
@@ -338,3 +338,16 @@ Emacs mode for managing ledger text files
(setq haskell-stylish-on-save t
lsp-haskell-formatting-provider "stylish-haskell"))
#+end_src
+
+* Check_MK
+#+BEGIN_SRC emacs-lisp
+(when (string-equal (user-login-name) "on")
+ (global-set-key (kbd "<f10>")
+ (lambda ()
+ (interactive)
+ (async-shell-command "WEBPACK_MODE=quick ~/git/zeug_cmk/bin/f12" "*f12*")))
+ (global-set-key (kbd "<f9>")
+ (lambda ()
+ (interactive)
+ (async-shell-command "cd ~/git/check_mk/managed/ && ~/git/check_mk/managed/.f12" "*f12*"))))
+#+END_SRC