Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/honza/vim.io


https://github.com/honza/vim.io

Last synced: about 5 hours ago
JSON representation

Awesome Lists containing this project

README

        

vim.io
======

**vim.io** is a proof-of-concept real vim editor in the browser. Instead of
trying to implement vimscript in Javascript, it sends your commands to a remote
server running a headless vim instance which processes it and spits out the
content.

Dependencies
------------

* node.js
* coffeescript
* npm
* socket.io
* MacVim (with `mvim` command on the `PATH`)

Installing
----------

$ git clone git://github.com/honza/vim.io.git
$ cd vim.io
$ npm install socket.io

Running
-------

$ coffee server.coffee
$ open index.html

Todo
----

* Implement auto-save and bring fresh content back
* Syntax highlighting
* Visual mode
* `Ctrl`-based commands
* Load custom `vimrc`

Issues
------

The vim `clientserver` can only be used when an actual graphical instance of
vim can be displayed. So, running the app on your laptop and having a Macvim
window open in the background works --- but not on the server. I'm trying to
find a workaround.

License
-------

If anything comes of this, I'd like it to be free. As such, the use of the
source code is available under the terms of the General Public License v3.
Please no hatin' because of my choice of open source license. If you don't
like it, go elsewhere. Thanks.