Fork me on GitHub
#spacemacs
<
2019-04-04
>
martinklepsch07:04:54

@jr0cket do you use those exclusively from within the lisp-mode?

practicalli-john07:04:32

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.

martinklepsch07:04:45

Ended up with this now

(spacemacs/set-leader-keys
    ",>" #'sp-slurp-hybrid-sexp)
Inspired by @ag's config

martinklepsch07:04:26

> 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 😅

practicalli-john07:04:46

Lisp state felt more natural once I learned to love Evil mode - multi-mode editing

martinklepsch07:04:11

Right, it kind of makes sense when you think about it 😄

martinklepsch07:04:50

intersting stuff, I guess I'll try to play around with that a bit more

martinklepsch07:04:03

Thanks for all the help here, very much appreciated 😊

practicalli-john07:04:12

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