]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Ignore case when searching in less if no uppercase character is used.
authorSimon Ruderich <simon@ruderich.org>
Tue, 16 Sep 2008 15:41:31 +0000 (17:41 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 16 Sep 2008 15:41:31 +0000 (17:41 +0200)
lesskey

diff --git a/lesskey b/lesskey
index 70f9ae1388e195b4756f96d4e443d08b7c1d7f6d..c1a4a72422c38595add587fe4d88e2945b1cca25 100644 (file)
--- a/lesskey
+++ b/lesskey
@@ -9,5 +9,6 @@
 #env
 
 # Set options for less. If the command output fits on the current terminal
-# page less automatically quits. Also allows the use with colordiff.
-LESS = --no-init --search-skip-screen --quit-if-one-screen --RAW-CONTROL-CHARS
+# page less automatically quits. Also allows the use with colordiff. When
+# searching ignore case if no uppercase letter is used.
+LESS = --no-init --search-skip-screen --quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case