summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVitalie Spinu <spinuvit@gmail.com>2018-06-30 23:45:10 +0200
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2018-07-01 11:35:09 +0200
commit423ba43223d590c16fea732ebaeec82c39bb62cb (patch)
tree29c9ce9c051db798f302d9a0fad1431eb119b172 /doc
parentb07e733e03c0bd3694b5e0d4b840301017ad7870 (diff)
Fix a few typos and grammar
Diffstat (limited to 'doc')
-rw-r--r--doc/managing_connections.md26
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/managing_connections.md b/doc/managing_connections.md
index 9f49e807..765c6416 100644
--- a/doc/managing_connections.md
+++ b/doc/managing_connections.md
@@ -4,7 +4,7 @@ section we use "REPL" and "connection" interchangeably.
## Sessions
CIDER maintains a grouped view of opened connections through [Sesman]
-sessions. Each session is a collection of connections which share same nREPL
+sessions. Each session is a collection of connections which share the same nREPL
server.
Start new sessions with
@@ -27,8 +27,8 @@ C-s</kbd>)
- <kbd>C-c C-s r</kbd> `sesman-restart`
- <kbd>C-c C-s q</kbd> `sesman-quit`
-where `sesman-start` is similar to `cider-jack-in-clj&cljs` except that the
-`cljs` REPL is started only if ClojureScript requirements have been met.
+The command `sesman-start` is similar to `cider-jack-in-clj&cljs` except that
+the `cljs` REPL is started only if ClojureScript requirements have been met.
To quit or restart individual connections use cider commands
@@ -48,16 +48,16 @@ Sessions can be linked to contexts (projects, directories and buffers)
## Current Session
All CIDER commands (evaluation, completion, switching to REPL etc.) operate on
-the current REPL within the current session. Current session is the most
-"relevant" session among all linked session. Session relevance is decided by the
+the relevant REPL within the current session. Current session is the most
+relevant session among all linked session. Session relevance is decided by the
specificity of the linked contexts and recency of the REPL buffers.
If the current context is linked to a single session then that session is the
current one. If multiple sessions are linked to a context (say, a project) then
the current session is the one containing the most recently viewed REPL.
-Links to more specific context have precedence. For example, if you have two
-session linked to the same project and another to a directory within that
+Links to more specific contexts have precedence. For example, if you have two
+sessions linked to the same project and another to a directory within that
project, then the session linked to the directory is the current session. Thus,
again, there is no ambiguity.
@@ -67,7 +67,7 @@ you would like to change that.
Retrieve info on the current session with <kbd>C-c C-s i</kbd>
(`sesman-show-session-info`). With a single prefix <kbd>C-u</kbd> it shows info
-on all linked sessions and with double prefix <kbd>C-u C-u</kbd> on all CIDER
+on all linked sessions, and with double prefix <kbd>C-u C-u</kbd> on all CIDER
sessions. Display active links with <kbd>C-c C-s l</kbd> (`sesman-show-links`).
@@ -77,16 +77,16 @@ Current REPL is the most relevant REPL from the current session. REPL relevance
is determined by the type of the current buffer. For example if the current
buffer is a `clj` buffer a `clj` REPL is selected. Ambiguous situations could
arise when, for instance, there are multiple `clj` REPLs within a session, or
-the current buffer is a `cljc` buffer and both `clj` and `cljs` REPLs are part
-of the session. In such cases the current REPL is the most recently viewed REPL
-of the relevant type.
+the current buffer is a `cljc` buffer and both `clj` and `cljs` REPLs exist in
+the session. In such cases the current REPL is the most recently viewed REPL of
+the relevant type.
Switch to the current REPL buffer with <kbd>C-c C-z</kbd>. You can then use the
same key combination to switch back to the Clojure(Script) buffer that you came
from.
-The single prefix <kbd>C-u C-c C-z</kbd>, will switch you to the current REPL
-buffer and set the namespace in that buffer based on namespace in the current
+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.