git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ff99681
)
less: preliminary keyboard page for the less pager
author
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 7 Feb 2009 02:44:39 +0000
(
02:44
+0000)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 22 Apr 2009 21:53:59 +0000
(21:53 +0000)
less.inc.pl
[new file with mode: 0644]
patch
|
blob
diff --git a/less.inc.pl
b/less.inc.pl
new file mode 100644
(file)
index 0000000..
164fd40
--- /dev/null
+++ b/
less.inc.pl
@@ -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