You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can connect to multiple nREPL servers using <kbd>M-x cider-jack-in</kbd> multiple
574
-
times. To close the current nREPL connection, use <kbd>M-x nrepl-close</kbd>. <kbd>M-x
575
-
cider-quit</kbd> closes all connections.
576
-
577
-
CIDER maintains a list of nREPL connections and a single 'default' connection. When you execute CIDER commands in a Clojure editing buffer such as to compile a namespace, these commands are executed against the default connection.
578
-
579
-
You can display the default nREPL connection using <kbd>C-c M-d</kbd> and rotate the default connection using <kbd>C-c M-r</kbd>. Another option for setting the default connection is to execute the command <kbd>M-x nrepl-make-repl-connection-default</kbd> in the appropriate REPL buffer.
580
-
581
-
To switch to the relevant REPL buffer based on the Clojure namespace in the current Clojure buffer, use: <kbd>C-c C-z</kbd>. You can then use the same key combination to switch back to the Clojure buffer you came from.
582
-
583
-
The single prefix <kbd>C-u C-c C-z</kbd>, will switch you to the relevant REPL buffer and set the namespace in that buffer based on namespace in the current Clojure buffer.
584
-
585
-
To explicitly choose the REPL buffer that <kbd>C-c C-z</kbd> uses based on project directory, use a double prefix <kbd>C-u C-u C-c C-z</kbd>. This assumes you have `cider-switch-to-relevant-repl` mapped to the var `cider-switch-to-repl-command` which is the default configuration.
586
-
587
-
To change the designation used for CIDER buffers use <kbd>M-x cider-change-buffers-designation</kbd>. This changes the CIDER REPL buffer, nREPL connection buffer and nREPL server buffer. For example using `cider-change-buffers-designation` with the string "foo" would change `*cider-repl localhost*` to `*cider-repl foo*`.
573
+
You can connect to multiple nREPL servers using <kbd>M-x
574
+
cider-jack-in</kbd> multiple times. To close the current nREPL
575
+
connection, use <kbd>M-x nrepl-close</kbd>. <kbd>M-x cider-quit</kbd>
576
+
closes all connections.
577
+
578
+
CIDER maintains a list of nREPL connections and a single 'default'
579
+
connection. When you execute CIDER commands in a Clojure editing
580
+
buffer such as to compile a namespace, these commands are executed
581
+
against the default connection.
582
+
583
+
You can display the default nREPL connection using <kbd>C-c M-d</kbd>
584
+
and rotate the default connection using <kbd>C-c M-r</kbd>. Another
585
+
option for setting the default connection is to execute the command
586
+
<kbd>M-x nrepl-make-repl-connection-default</kbd> in the appropriate
587
+
REPL buffer.
588
+
589
+
To switch to the relevant REPL buffer based on the Clojure namespace
590
+
in the current Clojure buffer, use: <kbd>C-c C-z</kbd>. You can then
591
+
use the same key combination to switch back to the Clojure buffer you
592
+
came from.
593
+
594
+
The single prefix <kbd>C-u C-c C-z</kbd>, will switch you to the
595
+
relevant REPL buffer and set the namespace in that buffer based on
596
+
namespace in the current Clojure buffer.
597
+
598
+
To explicitly choose the REPL buffer that <kbd>C-c C-z</kbd> uses
599
+
based on project directory, use a double prefix <kbd>C-u C-u C-c
600
+
C-z</kbd>. This assumes you have `cider-switch-to-relevant-repl`
601
+
mapped to the var `cider-switch-to-repl-command` which is the default
602
+
configuration.
603
+
604
+
To change the designation used for CIDER buffers use <kbd>M-x
605
+
cider-change-buffers-designation</kbd>. This changes the CIDER REPL
606
+
buffer, nREPL connection buffer and nREPL server buffer. For example
607
+
using `cider-change-buffers-designation` with the string "foo" would
608
+
change `*cider-repl localhost*` to `*cider-repl foo*`.
0 commit comments