keys: move key definitions into translation includes
[sheet.git] / readline.plp
index e8e37e29715cf325401d9e9f04a420925982dd3f..ed5f36661b2fb0d6c0d8463faeace9094c8c8cf9 100644 (file)
@@ -2,7 +2,7 @@
 
 Html({
        title => 'readline cheat sheet',
-       version => 'v1.1',
+       version => '1.1',
        description => [
                "Reference sheet of default key bindings for GNU readline,",
                "used for line-editing in most Unix software, notably Emacs and Bash.",
@@ -10,7 +10,7 @@ Html({
        keywords => [qw'
                readline gnu bash emacs sheet cheat reference overview keyboard editing curses
        '],
-       stylesheet => [qw'light dark circus mono red terse'],
+       stylesheet => [qw( light dark circus mono red )],
        keys => 1,
 });
 
@@ -22,7 +22,6 @@ Html({
 <:
 use Shiar_Sheet::Keyboard 2;
 my $info = do 'readline.eng.inc.pl' or die $@;
-$info->{def} = do 'readline.inc.pl';
 my $keys = Shiar_Sheet::Keyboard->new($info);
 $keys->map($get{map}) or undef $get{map};
 $keys->print_rows($get{rows} || '^x=213', [4,3,2]);