This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-17
Channels
- # announcements (11)
- # beginners (29)
- # calva (2)
- # clara (12)
- # cljsjs (1)
- # cljsrn (7)
- # clojure (39)
- # clojure-europe (6)
- # clojure-nl (7)
- # clojure-spec (6)
- # clojure-sweden (1)
- # clojure-uk (15)
- # clojuredesign-podcast (6)
- # code-reviews (2)
- # conjure (29)
- # cursive (3)
- # datomic (13)
- # duct (15)
- # emacs (1)
- # figwheel-main (2)
- # fulcro (7)
- # graalvm (16)
- # lambdaisland (4)
- # luminus (1)
- # meander (15)
- # observability (15)
- # off-topic (27)
- # parinfer (7)
- # pathom (2)
- # reitit (2)
- # rum (11)
- # shadow-cljs (57)
- # spacemacs (6)
- # sql (56)
- # tools-deps (36)
- # xtdb (3)
Can I use paredit by installing clojure layer? And what is the key bindings of paredit?
smartparens is part of Spacemacs already and smartparens is a modern version of paredit.
smartparens are part of the built-in lisp state, SPC k
, so to slurp SPC k s
which leaves you in lisp state so you can do further smartparens actions with a single key press.
Smartparens works in all language major modes, not just Clojure.
Keybinding are covered here:
https://practicalli.github.io/spacemacs/structural-editing/lisp-state.html
Details of the layer can be found via SPC h l lisp-state
or at https://develop.spacemacs.org/layers/+lang/emacs-lisp/README.html
If you are using Evil style editing, then enable Evil safe structural editing too https://practicalli.github.io/spacemacs/install-spacemacs/evil-structural-editing.html
paredit used to be included in the Clojure layer, but it has been removed. Even when paredit was included, no keybindings were included.
It does seem that something is pulling in paredit package, but I do not know where from. I assume its one of the packages that the Clojure layer pulls in.
I thought smart parens just kept things balanced. I use lisp mode "spc k ." It's nearly the same as paredit. Imo, Do not waste time looking into other options.