summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Josefsson <hello@martinjosefsson.com>2017-05-07 05:22:38 +0900
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2017-05-06 23:22:38 +0300
commitea233297492c6b4bacf1780e2243cd02c6d80ee7 (patch)
treece52e081daab94f06338914886229036392a4611 /doc
parentb89e18a516b3bf6144b3fe28972fbc154102e43e (diff)
Add cider-load-all-files and clojure-files-in-directory functions (#1983)
Useful when the nREPL host is on another machine, and you wish to "force" the state of your local file system onto that remote nREPL all at once.
Diffstat (limited to 'doc')
-rw-r--r--doc/cider-refcard.tex1
-rw-r--r--doc/interactive_programming.md1
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/cider-refcard.tex b/doc/cider-refcard.tex
index cddaf5d0..7f09e249 100644
--- a/doc/cider-refcard.tex
+++ b/doc/cider-refcard.tex
@@ -79,6 +79,7 @@
\begin{keylist}[labelwidth=\widthof{\keyify{C-c RET}}]
\item[C-c C-k] cider-load-buffer
\item[C-c C-l] cider-load-file
+ \item[C-c C-M-l] cider-load-all-files
\item[C-c C-r] cider-eval-region
\item[C-c C-n] cider-eval-ns-form
\item[C-x C-e] \ns{cider-eval-last-sexp}
diff --git a/doc/interactive_programming.md b/doc/interactive_programming.md
index 8e2c4bd9..d9716e32 100644
--- a/doc/interactive_programming.md
+++ b/doc/interactive_programming.md
@@ -41,6 +41,7 @@ Here's a list of `cider-mode`'s keybindings:
`cider-find-and-clear-repl-output` |<kbd>C-c C-o</kbd> | Clear the last output in the REPL buffer. With a prefix argument it will clear the entire REPL buffer, leaving only a prompt. Useful if you're running the REPL buffer in a side by side buffer.
`cider-load-buffer` |<kbd>C-c C-k</kbd> | Load (eval) the current buffer.
`cider-load-file` |<kbd>C-c C-l</kbd> | Load (eval) a Clojure file.
+`cider-load-all-files` |<kbd>C-c C-M-l</kbd> | Load (eval) all Clojure files below a directory.
`cider-refresh` |<kbd>C-c C-x</kbd> | Reload all modified files on the classpath. If invoked with a prefix argument, reload all files on the classpath. If invoked with a double prefix argument, clear the state of the namespace tracker before reloading.
`cider-doc` |<kbd>C-c C-d d</kbd> <br/> <kbd>C-c C-d C-d</kbd> | Display doc string for the symbol at point. If invoked with a prefix argument, or no symbol is found at point, prompt for a symbol.
`cider-javadoc` |<kbd>C-c C-d j</kbd> <br/> <kbd>C-c C-d C-j</kbd> | Display JavaDoc (in your default browser) for the symbol at point. If invoked with a prefix argument, or no symbol is found at point, prompt for a symbol.