This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-04
Channels
- # announcements (8)
- # beginners (27)
- # calva (8)
- # cider (26)
- # clara (19)
- # cljdoc (4)
- # cljsjs (1)
- # clojure (221)
- # clojure-dev (6)
- # clojure-europe (11)
- # clojure-gamedev (18)
- # clojure-italy (8)
- # clojure-nl (12)
- # clojure-spec (85)
- # clojure-uk (17)
- # clojurescript (34)
- # community-development (1)
- # cursive (26)
- # datomic (16)
- # dirac (19)
- # duct (6)
- # editors (4)
- # figwheel-main (1)
- # fulcro (68)
- # graphql (41)
- # juxt (16)
- # luminus (11)
- # off-topic (30)
- # pathom (35)
- # planck (2)
- # re-frame (18)
- # reagent (20)
- # remote-jobs (6)
- # rum (1)
- # shadow-cljs (37)
- # spacemacs (9)
- # vim (14)
@jr0cket do you use those exclusively from within the lisp-mode?
Yes, I slurp/barf/raise from lisp state. Sometimes navigate code in lisp state too as hjkl
navigate on s-exps boundaries, especially when I refactor code.
Ended up with this now
(spacemacs/set-leader-keys
",>" #'sp-slurp-hybrid-sexp)
Inspired by @ag's config> Sometimes navigate code in lisp state too That sounds neat, didn't consider that moving around could be nice, but also sounds like something you have to get used to/learn first 😅
Lisp state felt more natural once I learned to love Evil mode - multi-mode editing
Right, it kind of makes sense when you think about it 😄
intersting stuff, I guess I'll try to play around with that a bit more
Thanks for all the help here, very much appreciated 😊
Once I switched to Evil mode (Vim), then I found Evil safe structural editing invaluable https://practicalli.github.io/spacemacs/install-spacemacs/evil-structural-editing.html