commit 1cfddc8476f0434992bede080791a568d66ab84b
parent 8358008476db9b07c9658fa9390c27c5e09587e3
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 16 Jul 2024 14:44:58 +0200
tools/emacs: small *programming* things
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/emacs/config/config-programming.el b/tools/emacs/config/config-programming.el
@@ -48,10 +48,11 @@
(setq pos (match-end 0)))
commands))
+;; TODO github run-command: if remote is github.com, add a gh create pr command
+
(use-package run-command
:bind ("C-c c" . run-command)
:config
- ;; TODO (defun run-command-recipe-make ())
(defun run-command-recipe-make()
"Returns a dynamic list of commands based of a Makefile.
diff --git a/tools/emacs/config/programming-config.el b/tools/emacs/config/programming-config.el
@@ -38,6 +38,7 @@
(use-package flymake
:defer t
:bind
+ (("C-c f e" . flymake-show-project-diagnostics))
(:map flymake-mode-map
("M-n" . flymake-goto-next-error)
("M-p" . flymake-goto-prev-error))