This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
shellbridge with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
You may get them by
apt-get install nodejs npm vim vim-gnome on ubuntu.
My env. is ubuntu 14.04, nodejs 0.10.25 and vim 7.4 p183.
For Ubuntu 12.04, please install newer node and npm from PPA and the official installer script.
sudo npm install -g shellbridge
shellbridge --serverto start the daemon
echo source `npm root -g`/shellbridge/editors/shellbridge.vim >> ~/.vimrc
vim --servername anyword
Alt-nto initialize the shellbridge interface
Alt-nto execute the line
echo <your pwd> | sudo -S bash will do the trick. For convenient, you could map it in your
~/.shellbridgerc to have a quick start next time.
You may start by
mysql -n. A mapping is shipped in the default shellbridgerc, you should be able to start it by
Sure, in fact shellbridge interact with editors through only 2 commands: insertCmd & editorCmd. shellbridge can talk to everything has these 2 APIs implemented. The first step would be configuring your
~/.shellbridgerc and hack your favorite editor.
Yes, every key mapping can be changed. Feel free to add mapping below in your
let g:shellbridge_init = "<m-n>"
Available mappings are
This simple project is fun. I enjoy so much working on it. Please feel free to ask/file issue if you got any problem on setup. Any suggestions are welcome. Thanks so much for giving it a try. :)