less: preliminary keyboard page for the less pager
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 7 Feb 2009 02:44:39 +0000 (02:44 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 22 Apr 2009 21:53:59 +0000 (21:53 +0000)
less.inc.pl [new file with mode: 0644]

diff --git a/less.inc.pl b/less.inc.pl
new file mode 100644 (file)
index 0000000..164fd40
--- /dev/null
@@ -0,0 +1,38 @@
+use utf8;
+
+# less v418
+
+'' => {
+       desc => 'index',
+
+       'b' => ["page up"],
+       '^b'=> 'b',
+       'e' => 'j',
+       '^e'=> 'j',
+       'f' => ["page down"],
+       '^f'=> 'f',
+       'h' => ["help"],
+       'H' => 'h',
+       'j' => [$sign{down}],
+       'k' => [$sign{up}],
+       '^k'=> 'k',
+       '^m'=> 'j',
+       '^n'=> 'j',
+       '^p'=> 'j',
+       'q' => ["quit"],
+       'Q' => 'q',
+       '^v'=> 'f',
+       'w' => ["page up and set window"],
+       'y' => 'k',
+       '^y'=> 'k',
+       'z' => ["page down and set window"],
+},
+
+'\\' => {
+       'v' => 'b',
+}, # esc
+
+':' => {
+       'q' => 'q',
+       'Q' => ':q',
+}, # colon