Skip to content

Commit b932f20

Browse files
committed
Suggest adding a global keybinding for the cider-selector
1 parent 278e353 commit b932f20

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/modules/ROOT/pages/usage/misc_features.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,19 @@ stacktrace buffer, the doc buffer, the most recently visited Clojure file, etc.
123123
The usage of the command is extremely simple - after invoking it you need to type a
124124
single key identifying the target buffer (e.g. `r` for the REPL).
125125

126+
[TIP]
127+
====
128+
One thing to keep in mind about the default keybinding kbd:[C-c M-s] is that it's available only
129+
in buffers where `cider-mode` is enabled (e.g. Clojure source buffers) and in the CIDER REPL.
130+
If you want to have it available everywhere it might be a good idea to add a global
131+
binding in your Emacs config:
132+
133+
[source,lisp]
134+
----
135+
(global-set-key (kbd "C-c s") #'cider-selector)
136+
----
137+
====
138+
126139
Here's a list of all of `cider-selector`'s keybindings:
127140

128141
|===

0 commit comments

Comments
 (0)