Add mapping for switching between repl connections.

This commit is contained in:
mahinshaw 2016-02-19 10:30:32 -08:00 committed by Eivind Fonn
parent cbf42bbff2
commit 8029222b26
2 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,7 @@ As this state works the same for all files, the documentation is in global
| ~SPC m s n~ | send and eval ns form in REPL |
| ~SPC m s N~ | send and eval ns form and switch to REPL in =insert state= |
| ~SPC m s q~ | kill REPL (cider-quit) |
| ~SPC m s o~ | switch to other repl instance (cider-repl-switch-to-other) |
| ~SPC m s r~ | send and eval region in REPL |
| ~SPC m s R~ | send and eval region and switch to REPL in =insert state= |
| ~SPC m s s~ | switch to REPL |

View File

@ -229,6 +229,7 @@ If called with a prefix argument, uses the other-window instead."
"sI" 'cider-jack-in-clojurescript
"sn" 'spacemacs/cider-send-ns-form-to-repl
"sN" 'spacemacs/cider-send-ns-form-to-repl-focus
"so" 'cider-repl-switch-to-other
"sq" 'cider-quit
"sr" 'spacemacs/cider-send-region-to-repl
"sR" 'spacemacs/cider-send-region-to-repl-focus
@ -263,6 +264,7 @@ If called with a prefix argument, uses the other-window instead."
"sc" 'cider-repl-clear-buffer
"sn" 'cider-repl-set-ns
"so" 'cider-repl-switch-to-other
"sq" 'cider-quit
"ss" 'cider-switch-to-last-clojure-buffer
"sx" 'cider-refresh