# 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
# 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.
#
-# Don't use search-skip-screen as it makes it easy to miss matches on the
-# current page.
+# 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
# Store less' history file in this directory. HISTORY_PATH is replaced by