1 # Lesskey configuration file for less.
3 # Copyright (C) 2011-2012 Simon Ruderich
5 # This file is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <http://www.gnu.org/licenses/>.
21 # Map "-" to go up one screen like in mutt.
23 # Map h and l to work like in Vim (go left/right).
30 # Vim-like up/down to replace the arrow keys.
37 # Set options for less.
39 # no-init: Disable initialization termcap as it sometimes causes the screen to
41 # search-skip-screen: Start searching at the bottom of the screen.
42 # quit-if-one-screen: If the output fits on the current screen quit less.
43 # RAW-CONTROL-CHARS: Display ANSI "color" escape sequences to allow colored
44 # output. Other escape sequences are drawn in caret
46 # ignore-case: Ignore case if the search string doesn't contain any uppercase
48 LESS = --no-init --search-skip-screen --quit-if-one-screen --RAW-CONTROL-CHARS --ignore-case