trogdoro/xiki — pull request #44 by blandinw (2012-11-26 10:42:11+00:00)
Title: Better Vim integration

Hi Craig,

I watched your RubyConf talk yesterday and discovered Xiki.
Being a Vim user, I decided to help a bit with the integration.

**What I did**
- Gathered and improved small fixes from #36 and #19
- Nested commands (going up the tree)
- Expand and collapse
- Got rid of vim/line (indirection didn't seem to be justified) and replaced vim/tree
- Provided tests for most of this
- Added some more test infrastructure (minitest, guard to rerun test automatically), I think it is good to enforce good practices at the project level, but do whatever you want with these!
- Updated vim status

**What I did not do**
- Filtering on additional key strokes, not sure how to approach this in Vim (but didn't look at your emacs implementation)

**Comments**
I strongly believe Xiki is the right way to interact with a computer, at least from a keyboard. I have always been a huge fan of CLI interfaces and seeing projects like yours is refreshing, but...

1. I find the shelling-out option too slow compared to the snappiness of your emacs demo.
A TCP client/server model seems like the right thing to do, with most of the code being editor-agnostic with only thin editor-specific presentation layers.

2. I had trouble dealing with the codebase and gave up on reusing existing data structure after 15min of browsing. That's why I added XikiVim::Tree. Get rid of the $el already :)

Is there anything planned to address these issues?

Anyway, thank you and keep up the good work! :)