Fix run-command key bindings

This commit is contained in:
Jeremy Dormitzer 2021-03-01 20:30:02 -05:00
parent a967c94866
commit 5e63532b00

View File

@ -10,6 +10,10 @@
(defvar-local run-command-project-local-commands nil)
(put 'run-command-project-local-commands 'safe-local-variable (lambda (_) t))
:config
(general-def run-command-term-minor-mode-map [remap recompile] #'run-command-term-recompile)
(general-def 'normal run-command-term-minor-mode-map "gr" #'run-command-term-recompile)
(general-def 'insert run-command-term-minor-mode-map "g" #'self-insert-command)
(defun run-command-recipe-terraform ()
(when (directory-files default-directory
nil
@ -192,8 +196,6 @@
:general
(leader-map "\"" #'run-command)
(run-command-term-minor-mode-map [remap recompile] #'run-command-term-recompile)
(normal run-command-term-minor-mode-map "gr" #'run-command-term-recompile)
:custom
(run-command-run-method 'async-shell)
(run-command-recipes '(run-command-recipe-terraform