]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - lesskey
zsh/rc: Only call uname once.
[config/dotfiles.git] / lesskey
diff --git a/lesskey b/lesskey
index 70f9ae1388e195b4756f96d4e443d08b7c1d7f6d..6ed6b67d85bbb7c62af96f3b8a11768e19be6642 100644 (file)
--- a/lesskey
+++ b/lesskey
@@ -5,9 +5,13 @@
 
 # Map "-" to go up one screen like in mutt.
 - back-screen
+# Map h and l to work like in Vim (go left/right).
+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.
-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