parinfer

eraserhd 2016-10-28T00:14:58.000129Z

Ah, cursorDx isn't really documented. I was wondering what it should be.

eraserhd 2016-10-28T00:21:53.000130Z

@snoe You gonna fix, or should I make a pull request?

snoe 2016-10-28T00:37:51.000131Z

pull request would be great

eraserhd 2016-10-28T00:48:26.000132Z

ok, I'll do it tomorrow

tianshu 2016-10-28T01:58:32.000133Z

@eraserhd is there any demo or introduction for avi in detail. I wonder those advantages it provides

eraserhd 2016-10-28T14:08:13.000134Z

@doglooksgood Not really. I'm not sure there are any advantages yet 🙂

eraserhd 2016-10-28T14:08:25.000135Z

Unless being written in Clojure is an advantage.

eraserhd 2016-10-28T14:08:52.000136Z

So far, it's been implementing basic features of Vim - normal mode, basic commands, and so forth.

eraserhd 2016-10-28T14:09:35.000137Z

But it's getting close to the place where I'm going to do fun things that I want to do, like subset buffers, structural editing, and so forth.

eraserhd 2016-10-28T14:23:16.000138Z

@snoe What the heck is @ in -strlen(@-)?

eraserhd 2016-10-28T14:23:53.000139Z

Oh, register contents?

snoe 2016-10-28T15:30:41.000140Z

yeah, it's supposed to capture the last single line change - reading more last night made it seem like that's not exactly what's needed for dx (and it's persistent across buffers which is what you're probably seeing when you pair)

tianshu 2016-10-28T15:50:34.000141Z

I'm search for a develop environment that running as a server and provide the full features for clojure development(REPL, instaREPL, debugger, code completion, definition lookup, structural editing) 😂

eraserhd 2016-10-28T16:29:30.000142Z

@snoe Yeah, I read that v:operation could be left over from something else, and that ex-mode commands don't set it. But also @- could be left over.

eraserhd 2016-10-28T16:29:43.000143Z

This makes figuring out what actually happened interesting.

eraserhd 2016-10-28T16:30:29.000144Z

I'm thinking about it, and am willing to put in some elbow grease here. Have any ideas?

eraserhd 2016-10-28T16:34:23.000145Z

@doglooksgood yeah, Avi has no code completion or any kind of REPL yet or documentation lookup (because I can mostly work around these things with tmux). Structural editing is super important, but not started. I have a general framework in mind that should allow anything structured. Also Code Bubbles was an IDE that I saw a demo of that blew me away, and I hope to implement some of that.

snoe 2016-10-28T17:08:37.000146Z

@eraserhd I've pretty much just learned vimscript to implement the parinfer plugin so I'm not sure I can add too much. I had been thinking about saving the previous buffer in the cljs code but it would be nice if vim could just tell us how much was changed. stackoverflow suggests that '[ and '] may work http://vi.stackexchange.com/questions/8029/from-a-textchanged-autocommand-event-how-to-get-the-range-that-has-been-changed

snoe 2016-10-28T17:16:28.000148Z

oh, and https://github.com/neovim/neovim/issues/1114 is something that I thought would be a way to use the api over TextChanged

eraserhd 2016-10-28T17:23:49.000150Z

@snoe Ah, good stuff!

eraserhd 2016-10-28T18:06:08.000151Z

FYI, I'm not very good at vimscript either, though I guess I've learned a little bit.