File: lesskeys.rc

package info (click to toggle)
most 5.0.0a-4
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,300 kB
  • ctags: 527
  • sloc: ansic: 5,944; sh: 2,769; makefile: 148
file content (64 lines) | stat: -rw-r--r-- 1,461 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
% This is an example configuration file that provides a `less' emulation 
% for MOST.
%
% The format is simple: 
%       setkey <function-name> <key-name>
%       unsetkey <key-name>
%       color <object-name> <fg> <bg>
%
% Here <key-name> must be enclosed in double quotes.  '^' represents Ctrl.
% The function name is not in double quotes.
% 
%
% When MOST starts up, it looks for a keymap file given by the environment 
% variable MOST_INITFILE.  If that environment variable does not exist, 
% MOST will look in the users HOME directory for .mostrc on Unix systems
% and MOST.RC on VMS systems.
%
% The file `most.rc' contains a listing of the default MOST keybindings.

% Color settings

color normal lightgray black
color status yellow blue
color underline brightgreen black
color overstrike brightred black

% Keybindings

unsetkey "^K"
setkey up "^K"

unsetkey ":"
setkey next_file ":n"
setkey find_file ":e"
setkey next_file ":p"
setkey toggle_options ":o"
setkey toggle_case ":c"
setkey delete_file ":d"
setkey exit ":q"

setkey down "e"
setkey down "E"
setkey down "j"
setkey down "^N"
setkey up "y"
setkey up "^Y"
setkey up "k"
setkey up "^P"
setkey page_down "f"
setkey page_down "^F"
setkey page_up "b"
setkey page_up "^B"
setkey other_window "z"
setkey other_window "w"
setkey search_backward "?"
setkey bob "p"
setkey goto_mark "'"
setkey find_file "E"
setkey edit "v"
setkey bob "^[[7~"
setkey eob "^[[8~"
setkey bob "^[OH"
setkey eob "^[OF"