> Lines beginning with `>` are comments. > Comments and empty lines are ignored. > > Each command is defined on a single line comprised of: > > 1. a case-insensitive, alpha-numeric trigger followed > by whitespace > 2. a url followed by whitespace (if the url contains > spaces they must be encoded as `%20`) > 3. a short description > > Urls may contain the following replacement tokens: > > 1. `%s` is replaced by any search terms that were > provided when a command is triggered. > 2. `%r` is replaced by the url of the page you were on > when Shortwave was invoked, eg. the `tr` trigger. > 3. `%d` is replaced by just the domain of the url you > were on when Shortwave was invoked, eg. the `gs` trigger. > > A special `*` trigger can be used to define an untriggered > search. For instance, adding the following: > > * http://www.google.com/search?q=%s Untriggered search > > to your custom command file would allow you to do a Google > Search by entering just a search term (without the `g` trigger) > in the Shortwave prompt. > > The following default triggers do not need to be redefined > in your custom command file but they may be overridden. They > can be eliminated entirely by adding the following to the > top of your custom command file: > > > #kill-defaults > > Enjoy! a http://www.amazon.com/s/?field-keywords=%s Amazon Search f http://flickr.com/search/?q=%s Flickr Search g http://www.google.com/search?q=%s Google Search git http://www.kernel.org/pub/software/scm/git/docs/git-%s.html Git command help. gs http://www.google.com/search?q=site:%d%20%s Search the current site imdb http://www.imdb.com/find?s=all&q=%s IMDB Search img http://www.google.com/images?q=%s Google Image Search ip http://www.whatismyip.org/ IP Address map http://www.google.com/maps?q=%s Google Maps nf http://www.netflix.com/Search?v1=%s Netflix Search php http://php.net/search.php?show=quickref&pattern=%s PHP Function Search s http://search.twitter.com/search?q=%s Twitter Search (was Summize) t http://twitter.com/%s Twitter User tr http://translate.google.com/translate?u=%r&tl=%s Translate the current page v http://vimeo.com/videos/search:%s Vimeo Search w http://wikipedia.org/wiki/Special:Search/%s Wikipedia Search whois http://www.whois-search.com/whois/%s whois Search yt http://www.youtube.com/results.php?search_query=%s YouTube Search