Skip to content

Instantly share code, notes, and snippets.

/x

Created March 1, 2009 02:20
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 anonymous/72179 to your computer and use it in GitHub Desktop.
Save anonymous/72179 to your computer and use it in GitHub Desktop.
CmdUtils.makeSearchCommand({
name: "vimeo",
icon: "http://vimeo.com/favicon.ico",
homepage: "http://vimeo.com/",
url: "http://vimeo.com/videos/search:{QUERY}",
author: { name: "Jan S", email: "neonsamurai@hotmail.com"},
license: "GPL",
description: "Search videos on Vimeo",
help: "type any keywords to search for",
takes: {"input": noun_arb_text},
execute: function(input) {
CmdUtils.setSelection("You selected: "+input.html);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment