Fix run-command key bindings
This commit is contained in:
parent
a967c94866
commit
5e63532b00
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user