From c01aaa750e997a9603137d449cd924332b39307d Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 4 Jan 2016 12:11:51 +0000 Subject: [PATCH] Add some less options. -A: Restore pre-441 behaviour of searching from the cursor line. -W: Highlight scrolled lines. -Q: Don't ring the bell. -X: Don't initialise the terminal, so it isn't cleared. -d: Suppress dumb terminal message. -i: Case-insensitive search. -m: Slightly more verbose prompt. --- .profile.d/pager.bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.profile.d/pager.bashrc b/.profile.d/pager.bashrc index 0da0aa8..bc1a88a 100644 --- a/.profile.d/pager.bashrc +++ b/.profile.d/pager.bashrc @@ -4,6 +4,7 @@ if [ $? = 0 ]; then export PAGER="less -R" export GIT_PAGER="$PAGER" export LESSCHARSET=utf-8 + export LESS="AWQXdim" # Colours. case $(tput colors) in -- 2.7.4