# -*- 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=