Fork me on GitHub
#parinfer
<
2016-10-28
>
eraserhd00:10:58

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

eraserhd00:10:53

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

snoe00:10:51

pull request would be great

eraserhd00:10:26

ok, I'll do it tomorrow

tianshu01:10:32

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

eraserhd14:10:13

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

eraserhd14:10:25

Unless being written in Clojure is an advantage.

eraserhd14:10:52

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

eraserhd14:10:35

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.

eraserhd14:10:16

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

eraserhd14:10:53

Oh, register contents?

snoe15:10:41

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)

tianshu15:10:34

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) 😂

eraserhd16:10:30

@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.

eraserhd16:10:43

This makes figuring out what actually happened interesting.

eraserhd16:10:29

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

eraserhd16:10:23

@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.

snoe17:10:37

@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

snoe17:10:28

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

eraserhd17:10:49

@snoe Ah, good stuff!

eraserhd18:10:08

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