Skip to content

Instantly share code, notes, and snippets.

@littlefolk
Created June 3, 2010 10:57
Show Gist options
  • Save littlefolk/423743 to your computer and use it in GitHub Desktop.
Save littlefolk/423743 to your computer and use it in GitHub Desktop.
vimperator plugin: reloadBrowserObject
// :reloadBrowserObject --- :reload + BrowserObject {{{
(function(){
if (liberator.plugins.browser_object_api) {
commands.addUserCommand(
["reloadB[rowserObject]"], "Reload the tabs with BrowserObject",
function (args) browser_object_api.select(args.string, args["-number"]).forEach(function (aTab) tabs.reload(aTab, args.bang)),
{options: browser_object_api.options},
true
);
};
})();
// }}}
// vim: sw=2 ts=2 et si fdm=marker:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment