X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=lesskey;h=6ed6b67d85bbb7c62af96f3b8a11768e19be6642;hb=e0867f4072a7937a24304a61d2a0f70093a88c19;hp=70f9ae1388e195b4756f96d4e443d08b7c1d7f6d;hpb=7abc06281cf09194942f844e9655ad96d87c0bdd;p=config%2Fdotfiles.git diff --git a/lesskey b/lesskey index 70f9ae1..6ed6b67 100644 --- 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