File: keymap.example

package info (click to toggle)
moc 1%3A2.5.0~alpha3%2Bsvn20080629-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,832 kB
  • ctags: 2,829
  • sloc: ansic: 28,929; sh: 4,988; cpp: 523; makefile: 229
file content (129 lines) | stat: -rw-r--r-- 2,536 bytes parent folder | download
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# Example keymap file
# To define your own keys for MOC commands, create a keymap file in ~/.moc/
# directory and add an options Keymap = FILE in ~/.moc/config
#
# The format of this file is:
# Lines beginning with # are comments.
# Blank lines are ignored.
# Every other line is expected to be in format:
#
# COMMAND = KEY [KEY ...]
#
# The key can be:
#  - just a char, like i, L, ", *
#  - CRTL-KEY sequence: ^k (CTRL-k), ^4
#  - ALT-KEY (meta sequence): M-j (ALT-j), M-%
#  - Special keys:
#    DOWN
#    UP
#    LEFT
#    RIGHT
#    HOME
#    BACKSPACE
#    DEL
#    INS
#    ENTER
#    PAGE_UP
#    PAGE_DOWN
#    TAB
#    END
#    KEYPAD_CENTER
#    SPACE
#    ESCAPE
#    F1 - F12
#
# Maximum number of keys for one command is 5.
#
# Default key configuration for MOC (and a list of all available commands):

quit_client =		q
go =			ENTER
menu_down =		DOWN
menu_up =		UP
menu_page_down =	PAGE_DOWN
menu_page_up =		PAGE_UP
menu_first_item = 	HOME
menu_last_item =	END
quit = 			Q
stop = 			s
next =			n
previous =		b
pause =			p SPACE
toggle_read_tags =	f
toggle_shuffle = 	S
toggle_repeat =		R
toggle_auto_next =	X
toggle_menu =		TAB
toggle_layout =		l
add_file =		a
clear_playlist =	C
remove_dead_entries =	Y
add_directory =		A
volume_down_1 =		<
volume_up_1 =		>
volume_down_5 =		,
volume_up_5 =		.
seek_forward =		RIGHT
seek_backward =		LEFT
seek_forward_fast =	]
seek_backward_fast =	[
help =			h ?
hide_message =		M
refresh =		^r
reload =		r
toggle_hidden_files =	H
go_to_music_directory =	m
delete_from_playlist =	d
search_menu =		g /
save_playlist =		V
toggle_show_time =	^t
toggle_show_format =	^f
go_to_playing_file =	G
go_to_a_directory =	i
go_up =			U
next_search =		^g ^n
cancel =		^x ESCAPE
go_url =		o
volume_10 =		M-1
volume_20 =		M-2
volume_30 =		M-3
volume_40 =		M-4
volume_50 =		M-5
volume_60 =		M-6
volume_70 =		M-7
volume_80 =		M-8
volume_90 =		M-9

# Key binding for directories: defaults are Shift-number
# shift 1 = ! = Fastdir1
go_to_fast_dir1 =	!
go_to_fast_dir2 =	@
go_to_fast_dir3 =	#
go_to_fast_dir4 =	$
go_to_fast_dir5 =	%
go_to_fast_dir6 =	^
go_to_fast_dir7 =	&
go_to_fast_dir8 =	*
go_to_fast_dir9 =	(
go_to_fast_dir10 =	)

plist_add_stream =	^u
toggle_mixer =		x
# for softmixer
#toggle_softmixer =	w
history_up =		UP
history_down =		DOWN
plist_move_up =		u
plist_move_down =	j
theme_menu =		T

exec_command1 = 	F1
exec_command2 = 	F2
exec_command3 = 	F3
exec_command4 = 	F4
exec_command5 = 	F5
exec_command6 = 	F6
exec_command7 = 	F7
exec_command8 = 	F8
exec_command9 = 	F9
exec_command10 = 	F10