Fork me on GitHub
#vim
<
2019-09-02
>
dominicm05:09:52

I don't think so, I'd love a text object in vim-sexp for that

vaalha08:09:41

I tried my hand at vimscript, this seems to work

dominicm08:09:17

That would make a good text object, eg for yank etc

Muyiwa Olu10:09:50

Quick question: how do people move between dots (`.`) in Clojure. e.g. given the text (`foo.bar.baz/func`) and your cursor is on the first f of foo, how would you move to the b in baz for example? I know in this case I can fb, but do you use f.?

dominicm10:09:08

I use f. or fb, I've never thought of having a find which went past. It's a good idea though, given we have t

Muyiwa Olu10:09:18

@dominicm so you would just l to the start of b?

dominicm10:09:24

I would probably have used fb outside of a macro, or vim-sneak if b wasn't precise enough

Muyiwa Olu13:09:08

Sorry, misread your earlier message, thanks that makes sense!