From 0f308b1c90444f5f0293bf40aa1ef177bc51036c Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Fri, 30 Dec 2022 10:54:17 +0100 Subject: Reorganise Guix home declaration into module tree --- tw/home/files/lesskey | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tw/home/files/lesskey (limited to 'tw/home/files/lesskey') diff --git a/tw/home/files/lesskey b/tw/home/files/lesskey new file mode 100644 index 00000000..8793a77c --- /dev/null +++ b/tw/home/files/lesskey @@ -0,0 +1,33 @@ +# -*- 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 --no-histdups --RAW-CONTROL-CHARS --LONG-PROMPT --chop-long-lines +LESSOPEN=|src-hilite-lesspipe.sh %s +LESSHISTFILE=$XDG_DATA_HOME/less/history +LESSHISTSIZE=10000 +# *? setting is shared between LESS{,UTF}BINFMT, with the latter's setting taking priority +LESSBINFMT=*k%02X +LESSUTFBINFMT=U+%04lX +# Use pretty colours for bold/underline/... -- mostly in `man' +# https://wiki.archlinux.org/index.php/Color_output_in_console#less +# Note: these values are verbatim as less doesn't support escaping +# characters in lesskey (I think). +# blink -> italic white-on-red +LESS_TERMCAP_mb= +# bold -> bold blue +LESS_TERMCAP_md= +LESS_TERMCAP_me= +# reverse video -> reverse, bright yellow background +LESS_TERMCAP_so= +LESS_TERMCAP_se= +# underline -> italic green +LESS_TERMCAP_us= +LESS_TERMCAP_ue= -- cgit v1.2.3