Created
June 3, 2010 10:57
-
-
Save littlefolk/423743 to your computer and use it in GitHub Desktop.
vimperator plugin: reloadBrowserObject
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// :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