Hi All, I'm sorry, newbie here... i'm using doom emacs now, and I don't know the shortcut for : 1. how to make my cider repl move to right panel? 2. [C c M p] >> is this the correct shortcut to send code from buffer to REPL? much appreciated for the helpΒ π
1. There are probably better ways to achieve this, but you can manually create a new window with one of the evil-window- and evil+/window- commands (bound to "SPC w" prefix by default) and switch to repl buffer using "SPC b B" 2. You usually don't want to send code to repl directly (or, equivalently, paste, which "C-c M-p" does iianm) but let cider evaluate it (former evaluates it in whatever namespace the repl currently is in, latter switches to the namespace your code defined last for span of evaluation), e.g. via "SPC m e e" (cider-eval-last-sexp) -- see "SPC m e" and "SPC m p" prefixes for more commands
@max.deineko thank you so much for the tips, it works like charm for point no 1. I'll try point no 2... Thanks again! π
If your cursor is in the repl, I believe C-w L
will move the window to the right vertical split
Hi @adrianimanuel, in spacemacs, I would launch a spacemacs/cider-send-xx-to-repl
option and have a look to the suggested key binding. Look for the windows menu in doom in cheatsheet: https://gist.github.com/hjertnes/9e14416e8962ff5f03c6b9871945b165
@caumond somehow, i couldn't install spacemacs. it stuck in downloading resources. someone told me to use doom for the time being. Thank you so much for your answer