From ea233297492c6b4bacf1780e2243cd02c6d80ee7 Mon Sep 17 00:00:00 2001 From: Martin Josefsson Date: Sun, 7 May 2017 05:22:38 +0900 Subject: 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. --- doc/cider-refcard.tex | 1 + doc/interactive_programming.md | 1 + 2 files changed, 2 insertions(+) (limited to 'doc') 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` |C-c C-o | 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` |C-c C-k | Load (eval) the current buffer. `cider-load-file` |C-c C-l | Load (eval) a Clojure file. +`cider-load-all-files` |C-c C-M-l | Load (eval) all Clojure files below a directory. `cider-refresh` |C-c C-x | 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` |C-c C-d d
C-c C-d C-d | 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` |C-c C-d j
C-c C-d C-j | 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. -- cgit v1.2.3