aboutsummaryrefslogtreecommitdiff
path: root/lesskey
diff options
context:
space:
mode:
authorTimo Wilken2022-10-12 23:22:27 +0200
committerTimo Wilken2022-10-12 23:22:27 +0200
commitf278a27180a72d8b90be935094b4512383085c8b (patch)
tree40a4b1f5a20ae58bf1a821c39a4be264caab08bb /lesskey
Initial commit of imported files
Diffstat (limited to 'lesskey')
-rw-r--r--lesskey18
1 files changed, 18 insertions, 0 deletions
diff --git a/lesskey b/lesskey
new file mode 100644
index 00000000..10b6fc72
--- /dev/null
+++ b/lesskey
@@ -0,0 +1,18 @@
+# -*- mode: conf-space -*-
+# No compilation is necessary any more in recent less versions.
+
+#command
+{ prev-file
+} next-file
+N reverse-search
+n repeat-search
+^h back-screen
+
+#env
+LESS=--ignore-case --quit-if-one-screen --save-marks --RAW-CONTROL-CHARS --LONG-PROMPT --chop-long-lines --status-column --HILITE-UNREAD
+LESSOPEN=|src-hilite-lesspipe.sh %s
+LESSHISTFILE=$XDG_DATA_HOME/less/history
+LESSHISTSIZE=1000
+# *? setting is shared between LESS{,UTF}BINFMT, with the latter's setting taking priority
+LESSBINFMT=*k%02X
+LESSUTFBINFMT=U+%04lX