summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVitalie Spinu <spinuvit@gmail.com>2018-07-28 20:30:51 +0200
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2018-07-29 12:11:54 +0300
commit1a54accdeccb40fd84bd988eff00b1b563061faa (patch)
tree921db87a73cb58a9e6e9400f741018b547058152 /doc
parentaf8a64e825dfcf25061c27ab6c659b6c6108b72e (diff)
Add manual entry for how to customize session and REPL names
Diffstat (limited to 'doc')
-rw-r--r--doc/managing_connections.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/managing_connections.md b/doc/managing_connections.md
index 6ca98c73..3416f875 100644
--- a/doc/managing_connections.md
+++ b/doc/managing_connections.md
@@ -93,5 +93,16 @@ The single prefix <kbd>C-u C-c C-z</kbd>, will switch to the current REPL buffer
and set the namespace in that buffer based on namespace in the current
Clojure(Script) buffer.
+## Customizing Session and REPL Names
+
+By default session names consist of abbreviated project name, host and port
+(e.g. `project/dir:localhost:1234`). REPL buffer name consist of the session
+name and the REPL type specification post-fix
+(e.g. `*project/dir:localhost:1234(cljs:node)*`).
+
+You can customize session names with `cider-session-name-template` and REPL
+names with `nrepl-repl-buffer-name-template`. See also
+`cider-format-connection-params` for available formats.
+
[Sesman]: https://github.com/vspinu/sesman