Skip to content

Commit 6816216

Browse files
committed
Add a few more tips
1 parent 1c65b5d commit 6816216

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cider-util.el

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,9 @@ Any other value is just returned."
437437
cider-words-of-inspiration)))
438438

439439
(defvar cider-tips
440-
'("Press <\\[cider-view-manual]> to view CIDER's manual."
440+
'("Press <\\[cider-connect]> to connect to a running nREPL server."
441+
"Press <\\[cider-quit]> to quit the current connection."
442+
"Press <\\[cider-view-manual]> to view CIDER's manual."
441443
"Press <\\[cider-view-refcard]> to view CIDER's refcard."
442444
"Press <\\[describe-mode]> to see a list of the keybindings available (this will work in every Emacs buffer)."
443445
"Press <\\[cider-repl-handle-shortcut]> to quickly invoke some REPL command."
@@ -459,6 +461,9 @@ Any other value is just returned."
459461
"Press <\\[cider-browse-ns-all]> to start CIDER's namespace browser."
460462
"Press <\\[cider-classpath]> to start CIDER's classpath browser."
461463
"Press <\\[cider-macroexpand-1]> to expand the preceding macro."
464+
"Press <\\[cider-inspect]> to inspect the preceding expression's result."
465+
"Press <C-u \\[cider-inspect]> to inspect the defun at point's result."
466+
"Press <C-u C-u \\[cider-inspect]> to read Clojure code from the minibuffer and inspect its result."
462467
"Press <\\[cider-refresh]> to reload modified and unloaded namespaces."
463468
"You can define Clojure functions to be called before and after `cider-refresh' (see `cider-refresh-before-fn' and `cider-refresh-after-fn'."
464469
"Press <\\[cider-display-connection-info]> to view information about the connection."

0 commit comments

Comments
 (0)