Fork me on GitHub
#vim
<
2018-04-28
>
eraserhd19:04:48

In theory ]p is supposed to paste re-indented, but it doesn't seem to do anything different for clojure.

dominicm19:04:09

I wonder how it is supposed to function

dominicm19:04:15

Are you considering overriding in parinfer?

eraserhd19:04:34

I have an idea for making copy/paste work better for lispy things that will be usable for lisp, scheme, and so forth. I don't think I need to run parinfer for it, so it would be a separate plugin.

eraserhd19:04:50

Basically, handle TextYankPost, and fix the indentation in the register based on the start mark. Then will likely need to override various paste commands - p, gp, ]p, to do the right thing.

eraserhd19:04:02

I was hoping ]p would just work, though.