Skip to content
Create a gist now

Instantly share code, notes, and snippets.

// Vimperator plugin: 'Ricepaper'
// place in ~/.vimperator/plugin/readlater.js
// pushing ,rp will send the url to the 'readlater' script
// Translated from
mappings.addUserMap([modes.NORMAL], [",rp"],
function () {
// var u = escape(document.getElementById("urlbar").value);
var u = document.getElementById("urlbar").value;
var r = io.system(" '" + u + "'");
liberator.echo("ricepaper returned " + r);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.