Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Pipe in and out of $EDITOR
Shell JavaScript Makefile
Branch: master
Failed to load latest commit information.
.gitignore initial commit
Makefile make bpkg friendly
Readme.md correct the original implementation language
package.json make bpkg friendly
vipe-demo.gif initial commit
vipe.js fix
vipe.sh 0.1.0

Readme.md

vipe

Pipe in and out of $EDITOR.

Finally your editor is a real unix fellow, even if it doesn't support pipes at all!

Example

demo

Installation

$ npm install -g juliangruber/vipe

Origin

This is a lightweight bash only version. For the original impementation in Perl, check https://github.com/madx/moreutils/blob/master/vipe.

Power combo with gist and cipherhub

With those functions in your ~/.bash_profile (change username):

cipherup(){
  cipherhub juliangruber | gist -pR | cut -d/ -f1-5
}

cipheredit(){
  curl -sL $1/raw | cipherhub | vipe | cipherhub juliangruber | gist -u $1
}

Store some secret data in a gist:

$ echo some secrets | cipherup
<GIST-URL>

And edit it again:

$ cipheredit <GIST-URL>

License

MIT

Something went wrong with that request. Please try again.