);
{
+title => 'vi/vim',
+version => 1.5,
+description => [
+ "Interactive cheat sheet for vi text editors, notably Vim,",
+ "describing each key in various modes.",
+],
+keywords => [qw' vi vim nvi '],
+
key => {
"\e"=> "normal mode",
'v' => 'g8 modev',
'V' => "g4",
'w' => "g4 argm v7",
- 'x' => "g4 v7",
+ 'x' => "g4 v7 ext",
}, # mode g
Z => {
'(' => "g2",
'*' => "=[/",
'/' => "g2",
- "'" => "=[` ^", # v6
+ "'" => "=0[`^ g2 v6",
'{' => "g2",
'[' => "g2",
'^['=> "=\e",
'#' => "g2",
')' => "g2",
'*' => "=]/",
- "'" => "=]` ^", # v6
+ "'" => '=$]`^ g2 v6',
'/' => "g2",
'[' => "g2",
'^['=> "=\e",
(map { $_ => "=$_" } qw( g z [ ] \\ ^\\ ^q ^s ^z )),
'd' => 'g4',
- 'o' => 'g4',
- 'p' => 'g4',
+ 'o' => 'g5',
+ 'p' => 'g5',
's' => 'g4 arg xsurround',
'l' => '=x',