X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=shell%2Flesskey;h=964a719e1fc3c2104b9d0e4330b2cc5b08aae1fd;hp=247679be89c6c730bcea096e47ddf0a93951c7b0;hb=9e4b2aff9242c3e72c714c3bf01c670b576e6627;hpb=ac56b3081d3e1563484e325851113d84c236f43b diff --git a/shell/lesskey b/shell/lesskey index 247679b..964a719 100644 --- a/shell/lesskey +++ b/shell/lesskey @@ -1,6 +1,6 @@ # Lesskey configuration file for less. -# Copyright (C) 2011-2013 Simon Ruderich +# Copyright (C) 2011-2018 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -36,18 +36,24 @@ l right-scroll # Set options for less. # -# no-init: Disable initialization termcap as it causes the screen to get -# cleared on some systems. -# quit-if-one-screen: If the output fits on the current screen quit less. -# RAW-CONTROL-CHARS: Display ANSI "color" escape sequences to allow colored -# output. Other escape sequences are drawn in caret -# notation. -# ignore-case: Ignore case if the search string doesn't contain any uppercase -# letters. If there are uppercase letters respect case. +# --no-init: +# Disable initialization termcap as it causes the screen to get cleared on +# some systems. +# --quit-if-one-screen: +# If the output fits on the current screen quit less. +# --RAW-CONTROL-CHARS: +# Display ANSI "color" escape sequences to allow colored output. Other +# escape sequences are drawn in caret notation. +# --ignore-case: +# Ignore case if the search string doesn't contain any uppercase letters. +# If there are uppercase letters respect case. +# --rscroll=*n> +# Draw ">" ("*" means with "normal" attributes) when hiding wrapped lines. # -# Don't use search-skip-screen as it makes it easy to miss matches on the -# current page. -LESS = --no-init --quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case +# Don't use --search-skip-screen as it makes it easy to miss matches on the +# current page. Don't use --clear-screen which always prints a full screen +# (padded with "~" lines). +LESS = --no-init --quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case --rscroll=*n> # Store less' history file in this directory. HISTORY_PATH is replaced by # setup.sh because lesskey doesn't expand ~/.