summaryrefslogtreecommitdiff
path: root/cider-repl.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-02-26 08:22:02 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2016-02-26 08:22:02 +0200
commitb0f0592f3229dd9d776f2e0d7968985abfce34eb (patch)
tree8075e600d4eb51c67858a0b806a7009e6931a52e /cider-repl.el
parent00b862d192dccae617885af075e3264e8b724c56 (diff)
Add a REPL shortcut for cider-run
Diffstat (limited to 'cider-repl.el')
-rw-r--r--cider-repl.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/cider-repl.el b/cider-repl.el
index 02f0135b..789b875c 100644
--- a/cider-repl.el
+++ b/cider-repl.el
@@ -1089,6 +1089,8 @@ constructs."
(declare-function cider-undef "cider-interaction")
(declare-function cider-browse-ns "cider-browse-ns")
(declare-function cider-classpath "cider-classpath")
+(declare-function cider-run "cider-interaction")
+(declare-function cider-refresh "cider-interaction")
(cider-repl-add-shortcut "clear-output" #'cider-repl-clear-output)
(cider-repl-add-shortcut "clear" #'cider-repl-clear-buffer)
(cider-repl-add-shortcut "ns" #'cider-repl-set-ns)
@@ -1103,6 +1105,7 @@ constructs."
(cider-repl-add-shortcut "test-all" #'cider-test-run-loaded-tests)
(cider-repl-add-shortcut "test-project" #'cider-test-run-project-tests)
(cider-repl-add-shortcut "test-report" #'cider-test-show-report)
+(cider-repl-add-shortcut "run" #'cider-run)
(cider-repl-add-shortcut "conn-info" #'cider-display-connection-info)
(cider-repl-add-shortcut "conn-rotate" #'cider-rotate-default-connection)
(cider-repl-add-shortcut "hasta la vista" #'cider-quit)