mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
config/default: replace :build cmd w/ :compile
This commit is contained in:
@ -17,6 +17,11 @@
|
||||
(kill-new default-directory)
|
||||
(message "Copied to clipboard")))
|
||||
|
||||
(evil-define-command doom:compile (command &optional bang)
|
||||
(interactive "<a><!>")
|
||||
(let ((default-directory (if bang (doom-project-root t) default-directory)))
|
||||
(compile command)))
|
||||
|
||||
|
||||
;;
|
||||
;; Commands
|
||||
@ -90,7 +95,7 @@
|
||||
(ex! "sw[oop]" #'+helm:swoop)
|
||||
(ex! "todo" #'+helm:todo)))
|
||||
;; Project tools
|
||||
(ex! "build" #'+eval/build)
|
||||
(ex! "compile" #'doom:compile)
|
||||
(ex! "debug" #'+debug/run)
|
||||
(ex! "er[rors]" #'flycheck-list-errors)
|
||||
;; File operations
|
||||
|
Reference in New Issue
Block a user