Change :make to reuse last command
Unless given a command.
This commit is contained in:
parent
9eee22e3fc
commit
62b9166871
1 changed files with 3 additions and 3 deletions
|
@ -23,9 +23,9 @@
|
||||||
"Run the current project Makefile's COMMAND. If FROM-PWD (bang), run the make
|
"Run the current project Makefile's COMMAND. If FROM-PWD (bang), run the make
|
||||||
command from the current directory instead of the project root."
|
command from the current directory instead of the project root."
|
||||||
(interactive "<sh><!>")
|
(interactive "<sh><!>")
|
||||||
(let ((default-directory (if from-pwd default-directory (doom-project-root t)))
|
(let ((default-directory (if from-pwd default-directory (doom-project-root t))))
|
||||||
(command (and command (evil-ex-replace-special-filenames command))))
|
(compile (or (if command (evil-ex-replace-special-filenames command))
|
||||||
(compile command)))
|
compile-command))))
|
||||||
|
|
||||||
(evil-define-command doom:reverse-lines (beg end)
|
(evil-define-command doom:reverse-lines (beg end)
|
||||||
"Reverse lines between BEG and END."
|
"Reverse lines between BEG and END."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue