Fork me on GitHub
#spacemacs
<
2017-03-12
>
luxbock07:03:59

@mkeathley: could you give an example of what you mean?

mkeathley17:03:36

@luxbock I suppose another way of saying it is deleting the contents between a matching set of [ ] characters.

mkeathley17:03:40

Shoot I said list

mkeathley17:03:43

I meant vector

eggsyntax17:03:56

@mkeathley For vanilla evil-mode, di[ will do it, ie delete-in-[. With evil-cleverparens you could also use dif since cleverparens adds the f (form) text-object.

eggsyntax17:03:15

Similarly da[ (`delete-around-[`) does the same thing, but includes the brackets.

eggsyntax17:03:56

Can do the same thing with parens, quotes, etc etc.

mkeathley17:03:22

] will represent the current "context" if you will

mkeathley17:03:31

So a string, list, vector, what have you

eggsyntax17:03:26

Well, for deleting in parens it would be di(. Similarly you can do delete-in- with {, ", and some others.

eggsyntax17:03:55

It's lisp/clj-ignorant, it's just using the char you name as the reference point.

eggsyntax17:03:48

If you haven't read this, it was something that fundamentally changed how I vim. Just a really key insight. https://yanpritzker.com/learn-to-speak-vim-verbs-nouns-and-modifiers-d7bfed1f6b2d

mkeathley17:03:32

Yeah this will be used

Drew Verlee23:03:37

How does one integrate Sayid with spacemacs? I feel like i should drop

(eval-after-load 'clojure-mode
  '(sayid-setup-package))
In my .spacemacs file under additional packages, but i when i start emacs i get a eval after load package not found

eggsyntax23:03:42

I expect you don't want that in additional packages, just in user-config.

eggsyntax23:03:14

I suspect that's a fn that does some setup stuff rather than the name of the package.

eggsyntax23:03:47

Ah, yeah, the fn is to load keybindings for clojure-mode buffers.

eggsyntax23:03:21

In additional-packages you just want to put sayid. @drewverlee

eggsyntax23:03:35

Let us know how sayid + spacemacs works out for you, I may give it a shot if your integration goes smoothly -- saw him give the talk at this last /conj, but haven't tried it yet.

bpiel23:03:44

@drewverlee @eggsyntax FYI, I believe abcdw (github user) is working on a spacemacs layer https://github.com/bpiel/sayid/issues/19