emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
2021-02-01T06:47:03.018600Z

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Β πŸ˜„

2021-02-01T08:02:49.020900Z

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

πŸ‘ 1
😘 1
2021-02-01T13:11:47.021600Z

@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! πŸ™

πŸ‘ 1
localshred 2021-02-01T15:53:38.023300Z

If your cursor is in the repl, I believe C-w L will move the window to the right vertical split

caumond 2021-02-01T07:49:20.020300Z

Hi @adrianimanuel, in spacemacs, I would launch a spacemacs/cider-send-xx-to-reploption and have a look to the suggested key binding. Look for the windows menu in doom in cheatsheet: https://gist.github.com/hjertnes/9e14416e8962ff5f03c6b9871945b165

2021-02-01T13:14:08.023100Z

@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