Skip to content

Instantly share code, notes, and snippets.

@tyru
Created April 28, 2010 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyru/381801 to your computer and use it in GitHub Desktop.
Save tyru/381801 to your computer and use it in GitHub Desktop.
altercmd.js - altercmd.vim in Vimperator plugin.
javascript <<EOS liberator.modules.commands.addUserCommand( ['altercommand'],
'this is vimperator plugin version of vim plugin altercmd.vim',
function (arg) {alert(arg); },
{
argCount: '+',
literal: true,
completer: liberator.modules.completion.command,
},
true
);
EOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment