no warnings 'qw'; # you know what you doing
no warnings 'uninitialized'; # save some useless checks for more legible code
-our $VERSION = '1.1';
+our $VERSION = '1.2';
our $ascii = 0;
if (exists $get{ascii}) {
<link rel="stylesheet" type="text/css" media="all" href="base.css">
<!--[if lte IE 6]><style> .help dl.legend dt {margin:0 0 1px} </style><![endif]-->
<!--[if lte IE 7]><style> .help dl.legend dd {float:none} </style><![endif]--><:
- my %styles = map {$_ => $_} qw(dark circus mono terse);
+ my %styles = map {$_ => $_} qw(dark circus mono red terse);
our $style = exists $get{style} && $styles{$get{style}} || 'light';
printf(qq{\n<link rel="%s" type="text/css" media="all" href="%s" title="%s">},
$_ eq $style ? 'stylesheet' : 'alternate stylesheet', "$_.css", $_
print "\n<style> .no, .alias {opacity:.5} </style>"
if $showkeys and $get{keys} eq 'ghost';
:>
+<link rel="vcs" type="git" href="git://dev.shiar.nl/sheet">
<script><!--
function setmode(classname) {
} // setmode
//--></script>
-<body>
+<body id="vim">
<h1>vi/vim cheat sheet</h1>
<p class="footer">
<a href="http://sheet.shiar.nl/vim">sheet.shiar.nl<strong>/vim</strong></a>
- <a href="git://dev.shiar.net/vi-cheat"><:= "v$VERSION" :></a>
+ <a href="git://dev.shiar.nl/sheet"><:= "v$VERSION" :></a>
created by Shiar <:= $sign{sep} :>
<a title="Licensed under the GNU Affero General Public License, version 3"
href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> <:= $sign{sep} :>