spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
John Oerter 2020-12-14T23:32:54.186800Z

Forgive me if this is a common question, but how can I wrap an expression in [] with spacemacs and evil-lisp-state? I know that SPC + k + w wraps in parens but can't figure out how to wrap in other Clojure forms

practicalli-john 2020-12-15T11:10:01.187600Z

I usually do SPC v to select a word, s to surround with a character, ] to surround with square brackets without a space, or [ to include a space.

jumar 2020-12-15T11:25:54.187800Z

That's nice too, thanks for sharing.

practicalli-john 2020-12-15T11:41:17.188100Z

Hmm, v e would also work if you are at the start of the word and is the only word to be surrounded. SPC v is nice as you can keep on expanding the selection with v , eg. SPC v v v V and shift-v to shrink the selection.

1
practicalli-john 2020-12-15T12:14:48.188300Z

I use SPC v with ~ when I want to capitalise words, its very handy.

John Oerter 2020-12-15T14:47:58.188500Z

Thanks @jumar and @jr0cket! That's exactly what I was looking for