From 9309e8fd189f106857def950ce97d939a9f0a398 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 24 Mar 2010 21:10:52 +0100 Subject: [PATCH] lesskey: Improve less options description. --- lesskey | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/lesskey b/lesskey index 6ed6b67..47cb71e 100644 --- a/lesskey +++ b/lesskey @@ -9,9 +9,18 @@ h left-scroll l right-scroll + #env -# Set options for less. If the command output fits on the current terminal -# page less automatically quits. Also allows the use with colordiff. When -# searching ignore case if no uppercase letter is used. +# Set options for less. +# +# no-init: Disable initialization termcap as it sometimes causes the screen to +# get cleared. +# search-skip-screen: Start searching at the bottom of the screen. +# 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. LESS = --no-init --search-skip-screen --quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case -- 2.44.1