42 lines
1.1 KiB
Perl
42 lines
1.1 KiB
Perl
package DDG::Goodie::GimpCheatSheet;
|
|
# ABSTRACT: Some GIMP keyboard and mouse shortcuts
|
|
|
|
use strict;
|
|
use DDG::Goodie;
|
|
|
|
zci answer_type => "gimp_cheat";
|
|
zci is_cached => 1;
|
|
|
|
name "GimpCheatSheet";
|
|
description "GIMP shortcut cheat sheet";
|
|
code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/GimpCheatSheet.pm";
|
|
category "cheat_sheets";
|
|
topics "computing";
|
|
|
|
primary_example_queries "gimp help", "gimp cheat sheet", "gimp shortcuts";
|
|
|
|
triggers startend => (
|
|
"gimp cheat sheet", "cheat sheet gimp",
|
|
"gimp cheatsheet", "cheatsheet gimp",
|
|
"gimp help", "help gimp",
|
|
"gimp quick reference", "quick reference gimp",
|
|
"gimp reference", "reference gimp",
|
|
"gimp shortcut", "shortcut gimp",
|
|
"gimp shortcuts", "shortcuts gimp"
|
|
);
|
|
|
|
attribution github => ["elebow", "Eddie Lebow"];
|
|
|
|
my $HTML = share("gimp_cheat_sheet.html")->slurp(iomode => "<:encoding(UTF-8)");
|
|
my $TEXT = share("gimp_cheat_sheet.txt")->slurp(iomode => "<:encoding(UTF-8)");;
|
|
|
|
handle remainder => sub {
|
|
return
|
|
heading => "GIMP Shortcut Cheat Sheet",
|
|
html => $HTML,
|
|
answer => $TEXT,
|
|
};
|
|
|
|
1;
|
|
|