Fork me on GitHub
#spacemacs
<
2017-03-03
>
tap01:03:39

Is there a way to choose clojure version to start repl with when starting repl without project file?

alandipert04:03:38

if you're using boot you can do, in a terminal, BOOT_CLOJURE_VERSION=1.8.0 boot repl and then once it's up, cider-connect to it separately from emacs

not-raspberry10:03:23

Is there an easy way to make s in visual mode behave as substitute, not as surround, just as in vim? And maybe make capital S do surround?

shan10:03:15

I ended up just using c instead. But you should be able to rebind keys fairly easily

shan11:03:36

anyone know an easy way to align stuff in spacemacs?

:action action
       :value value
       :type type
what I want:
:action action
       :value  value
       :type   type

shan11:03:45

seems you can select all the lines and then do spc x a r then enter space as the regex value

leo15:03:07

you could use clojure-align C-c SPC

shan15:03:32

anyone know if there is a way to easily reuse the last output in a cider repl? similar to this in bash: http://stackoverflow.com/questions/24283097/reusing-output-from-last-command-in-bash

eggsyntax15:03:04

Command-p for me (on mac)

eggsyntax15:03:45

Oh, sorry, thought you meant something else. It's *1

eggsyntax15:03:50

Goes up to *3 IIRC

eggsyntax15:03:25

Works in any clj/s REPL AFAIK

eggsyntax15:03:16

user> (+ 4 5)
9
user> (* 2 *1)
18