The PNaCl and JS code communicate to keep the Realtime model of the document in sync with Vim's own file buffer. Realtime events from JS are passed to Vim and applied to the file. Local edits within Vim are passed to JS to edit the Realtime model.
This is not a Vim plugin. Arguably, a Vim plugin would not be sufficient for robust collaboration. Vim is able to handle asynchronous edit events due to modifications to its source.
./make_nacl.sh. After a successful build, run
./make_nacl.sh install. There will be errors, see TODOs below. Finally, copy
To run on your own domain or machine, first set up the Drive API for your
project by following step 1 of Creating a Realtime Application.
You will need to reassign the project ID's in
You can run a local web server with
./httpd.py, but note you must use a DNS
name to access your local machine. The Drive API doesn't recognize
as a valid origin.
Although this project is functional, there is a lot left to do! Check Issues if you want to contribute or to file a bug.