Fork me on GitHub
#vim
<
2018-08-09
>
eraserhd00:08:10

(and that makes success the sweeter... whew)

dominicm16:08:50

I might switch back to a dev build of nvim again once https://github.com/neovim/neovim/pull/8832 is merged, and then re-enable parinfer 🙂.

eraserhd17:08:26

this PR is going to require some more work, tho. I have some time set aside this afternoon, I hope I can have it ready.

dominicm17:08:00

No rush, just watching with anticipation

eraserhd14:08:59

It is now merged!

dominicm16:08:06

@eraserhd did you ever get paste working? Did ]p do the right thing for you?

eraserhd16:08:52

I did not. Still on my to-do list 🙂 . I definitely want a small plugin which does just that.

dominicm17:08:18

Why a small plugin? What does it do on its own?

eraserhd17:08:47

Just reindent multi-line yanks in the registers such that ]p works.

eraserhd17:08:15

It can be done language-agnostically, I think.

eraserhd17:08:47

Aside: today I'm pairing using emacs, and undo is CTRL-_ . Which is like, "hold CTRL with your left pinky, hold SHIFT with your right pinky, tap minus with your third pinky."

😄 8
dominicm17:08:24

I'm not sure if it's related, but a yank like that would be cool too. The lines 2+ of yaf are indented, and the first isn't.

eraserhd17:08:07

Right... right now, we could rely on parinfer's paren mode to "fix" the code, but why not use the original indentation (relatively).

eraserhd17:08:36

I'm actually not sure how much ]p does. Should go play with it when I get a chance.

dominicm18:08:59

I often want to yaf into slack