zmq
minimal messaging interface for Sublime Text 3
Details
Installs
- Total 265
- Win 0
- Mac 150
- Linux 115
Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
sublimezmq
Sublime Text binding
Minimal messaging interface for Sublime Text 3.
Basic Kernel Setup
Darwin. Tested on OS X 10.10 and 10.9
libzmq on *nix sym linked at
/usr/local/lib/libzmq.4.dylib
or just edit zmq.py.make sure your particular usr/local libzmq works.
Shut off and quit your sublime text 3 editor completely.
Then from inside Sublime's Packages directory git clone along these lines:
$ cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
$ git clone https://github.com/reqshark/sublimezmq.git && cd sublimezmq
#dont depart sublimezmq dir yet. clean up pkg before turning sublime back on:
$ rm -rf .git && rm History.md && rm README.md
Now what
hook Sublime Text 3's sublime_plugin.EventListener
over zmq sockets.
Here's an example using the node zeromq bindings. The idea is to efficiently distribute information or events from sublime text: “ js var zmq = require('zmq') var sub = zmq.socket('sub')
sub.connect('tcp://127.0.0.1:64000')
sub.subscribe('on_post_save')
//sub.subscribe('on_modified')
console.log('subscriber connected to on_post_save
and on_modified
events')
sub.on('message', function (msg) { console.log(String(msg)) });
License
-------
This is free and unencumbered software released into the public domain.