Hacker News new | ask | show | jobs
by snprbob86 5051 days ago
Chris: I know you're a vim guy, so I know you'll be doing vim bindings eventually. I also know that vim emulation modes are always incomplete. I'd like to offer my services as a vim-mode tester. I vow to provide extremely robust feedback. I'm willing to offer this service for free, so that I can ensure Light Table's vim subset is a superset of my brain's vim subset ;-)
3 comments

From the original kickstarter[1] app:

What about key bindings?

I'm a VIM guy myself, but since we'll be using the awesome CodeMirror[2] editor, this is something that is easily adapted. If you're looking for a way to contribute, help improve CodeMirror and its emacs/vim plugins!

I haven't actually played around with the current release to see if it's been integrated yet, but it's almost certainly part of the plan.

[1] http://www.kickstarter.com/projects/306316578/light-table

[2] http://codemirror.net/

If you view-source on this release you can see a vim.js file is included with vim bindings. I was able to activate them by setting a breakpoint in chrome on line 2098 of codemirror.js and typing this in the console:

  CodeMirror.defaults["keyMap"]="vim"
Presumably there will be a better way to turn them on in the future.
CodeMirror's vim support is fairly limited though. Here's the list, in comments at the top of the code here: http://codemirror.net/keymap/vim.js

Also, "Because CodeMirror's internal API is quite different from Vim, they are only a loose approximation of actual vim bindings" http://codemirror.net/demo/vim.html

Maybe so, but then again - "contribute for free, after we raised a whole lot of money and funding for our work"...
The concept of light table is very different than vim. Besides I believe chris is aiming his IDE for clojure users which in case it makes more sense for him to target it to emacs users.

Besides vim is all about modes, and memorizing commands.

That is exactly what light table is opposite off. Modes and Commands in vim is 'ancientness' when it comes to usability design.

But if you are still interested may be you should build a feature comparison matrix and track it.

Modes and commands in vim are well designed and useable for an expert, which is the entire point.
I wish to note that what can be better than one brain's subset: the union of two brain subsets! Hint Hint.