Skip to content
Ghost Text for VIm
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Mar 23, 2016
README.md Clarify tcllib dependency (closes #2) Mar 8, 2017
ghost-text-server.tcl

README.md

Ghost Text VIm

A small server script allowing you to use GVIm with Ghost Text Chrome (or Firefox) extension. It's a standalone script, and will launch new instances of GVIm each time. It's implemented in TCL because, reasons, and requires TCL version at least 8.6. It also requires sha1, json, and json::write. On Debian and Ubuntu these are available in the tcllib package.

The integration from VIm to Chrome is fairly robust, and will update on each change as soon as you get back to normal mode. In the other direction is a bit more shaky, and will only work if VIm is in normal mode. If you change the text in chrome while in insert mode in VIm, you'll get a bunch of crap buffer. This is due to the fact that we can only replace content by sending keys to VIm (and TCL has issues passing <ESC> to the remote commands) rather than using remote expressions.

Anyway, I wrote this for me, drop me a line if you have any issues and I might invest some more time into making it more user friendly.

You can’t perform that action at this time.