]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - lesskey
dceb3129061df3a07524d6029407864f2c950822
[config/dotfiles.git] / lesskey
1 # Lesskey configuration file for less.
2
3
4 #command
5
6 # Map "-" to go up one screen like in mutt.
7 - back-screen
8 # Map h and l to work like in Vim (go left/right).
9 h left-scroll
10 l right-scroll
11
12
13 #line-edit
14
15 # Vim-like up/down to replace the arrow keys.
16 ^P up
17 ^N down
18
19
20 #env
21
22 # Set options for less.
23 #
24 # no-init: Disable initialization termcap as it sometimes causes the screen to
25 #          get cleared.
26 # search-skip-screen: Start searching at the bottom of the screen.
27 # quit-if-one-screen: If the output fits on the current screen quit less.
28 # RAW-CONTROL-CHARS: Display ANSI "color" escape sequences to allow colored
29 #                    output. Other escape sequences are drawn in caret
30 #                    notation.
31 # ignore-case: Ignore case if the search string doesn't contain any uppercase
32 #              letters.
33 LESS = --no-init --search-skip-screen --quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case