RewriteEngine on
RewriteBase /
+# redirect old location
+RewriteRule ^vim$ /vi [R=301]
+
# serve vim commands when requesting /digraphs.ex as well
RewriteRule ^(digraphs)\.ex(/.*)?$ $1.vim$2
<h2>Keyboard maps</h2>
<ul>
<li><a href="/readline">readline</a>
-<li><a href="/vim">vi/vim</a>
+<li><a href="/vi">vi/vim</a>
<li><a href="/vimperator">vimperator</a>
<li><a href="/mutt">mutt</a>
<li><a href="/nethack">nethack</a>
'(' => ["start macro", 'mv'],
')' => ["end macro", 'mv'],
'e' => ["run macro", 'mv', 'Execute'],
- '^e' => ["editor", 'mi ext linkvim'],
+ '^e' => ["editor", 'mi ext linkvi'],
'^g' => '^g',
'^h' => '^u',
'^r' => ["reload inputrc", 'mv'],
<priority>0.80</priority>
</url>
<url>
- <loc>http://sheet.shiar.nl/vim</loc>
+ <loc>http://sheet.shiar.nl/vi</loc>
<changefreq>monthly</changefreq>
<priority>0.80</priority>
</url>
<body id="unicode">
<h1>Common uncommon Unicode</h1>
-<p>i^k in <a href="/">Vim</a>.
+<p>i^k in <a href="/vi">Vim</a>.
Also see the <a href="/digraphs">complete digraphs table</a>.</p>
<div class="diinfo">
<link rel="icon" type="image/png" href="/clip.png">
<script type="text/javascript" src="/keys.js"></script>
-<body id="vim">
+<body id="vi">
<h1>vi/vim cheat sheet</h1>
<:
use Shiar_Sheet::Keyboard;
-my $keys = Shiar_Sheet::Keyboard->new({do 'vim.inc.pl'});
+my $keys = Shiar_Sheet::Keyboard->new({do 'vi.inc.pl'});
$keys->map($get{map}) or undef $get{map};
$keys->print_rows($get{rows});
:>
</div>
<p class="footer">
- <a href="/" rel="home">sheet.shiar.nl</a>/vim.<a href="/source/vim.plp"
+ <a href="/" rel="home">sheet.shiar.nl</a>/vi.<a href="/source/vi.plp"
rel="code" title="Written in Perl">plp</a>
- <a href="http://git.shiar.nl/sheet.git/history/HEAD:/vim.plp"
+ <a href="http://git.shiar.nl/sheet.git/history/HEAD:/vi.plp"
rel="vcs-git" title="Git repository"><:= $VERSION :></a>
created by <a href="http://shiar.nl/" rel="author">Shiar</a> <:= $sign{sep} :>
<a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html" rel="copyright"