]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - lesskey
shell/aliases: fix typo in comment
[config/dotfiles.git] / lesskey
diff --git a/lesskey b/lesskey
index 3a4e402ef6d2fbb60e171103be39b84974b05af4..247679be89c6c730bcea096e47ddf0a93951c7b0 100644 (file)
--- a/lesskey
+++ b/lesskey
@@ -1,6 +1,6 @@
 # Lesskey configuration file for less.
 
-# Copyright (C) 2011-2012  Simon Ruderich
+# Copyright (C) 2011-2013  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
@@ -20,7 +20,7 @@
 
 # Map "-" to go up one screen like in mutt.
 - back-screen
-# Map h and l to work like in Vim (go left/right).
+# Map h and l to work like in Vim (go left/right). To display the help use H.
 h left-scroll
 l right-scroll
 
@@ -36,16 +36,18 @@ l right-scroll
 
 # 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.
+# 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.
-LESS = --no-init --search-skip-screen --quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case
+#              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.
+LESS = --no-init --quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case
 
 # Store less' history file in this directory. HISTORY_PATH is replaced by
 # setup.sh because lesskey doesn't expand ~/.