summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/profile8
1 files changed, 7 insertions, 1 deletions
diff --git a/dotfiles/profile b/dotfiles/profile
index e615972..e877c2b 100644
--- a/dotfiles/profile
+++ b/dotfiles/profile
@@ -20,8 +20,14 @@ export INPUTRC=${HOME}/.config/inputrc
export XDG_RUNTIME_DIR=${HOME}/.cache/
## less configuration
+# default options:
+# -i ignore case for searching
+# -R display color ANSI escapes
+# -W highlight first unread line after scroll
+# -Q don't ring the bell ever
+# -z-3 scroll by 3 lines less than term height
+export LESS="-iRWQ -z-3"
### colors
-export LESS="-iRW -z-3"
export LESS_TERMCAP_mb=$'\E[01;36m'
export LESS_TERMCAP_md=$'\E[01;36m'
export LESS_TERMCAP_me=$'\E[0m'