1 ##
2 ## Key bindings for ncmpc (~/.ncmpc/keys)
3 ##
4 ##
5 ## Its possible to bind maximum three keys to a command
6 ## Keys can be defined with a character or a decimal/hexadecimal value.
7 ## A command can be disabled by binding it to 0 (key bind quit = 0).
8 ##
9 ## Example - bind the Q key to quit in three different ways:
10 ## (character, decimal [81], hexadecimal [51])
11 ##
12 ## key quit = 'Q'
13 ## key quit = 81
14 ## key quit = 0x51
15 ##
17 ## Quit
18 key quit = 'q', 'Q', 3
20 ## Move cursor up
21 key up = 259, 'k'
23 ## Move cursor down
24 key down = 258, 'j'
26 ## Home
27 key home = 262, 1
29 ## End
30 key end = 360, 5
32 ## Page up
33 key pgup = 339
35 ## Page down
36 key pgdn = 338
38 ## Help screen
39 #key screen-help = '1', 265, 'h'
41 ## Playlist screen
42 key screen-playlist = '2', 266
44 ## Browse screen
45 key screen-browse = '3', 267
47 ## Play/Enter directory
48 key play = 13
50 ## Pause
51 key pause = 'P'
53 ## Stop
54 key stop = 's', 263
56 ## Next track
57 key next = 62
59 ## Previous track
60 key prev = 60
62 ## Seek forward
63 key seek-forward = 'f'
65 ## Seek backward
66 key seek-backward = 'b'
68 ## Increase volume
69 key volume-up = 43, 261
71 ## Decrease volume
72 key volume-down = 45, 260
74 ## Select/deselect song in playlist
75 key select = 32
77 ## Delete song from playlist
78 key delete = 330, 'd'
80 ## Shuffle playlist
81 key shuffle = 'Z'
83 ## Clear playlist
84 key clear = 'c'
86 ## Toggle repeat mode
87 key repeat = 'r'
89 ## Toggle random mode
90 key random = 'z'
92 ## Toggle crossfade mode
93 key crossfade = 'x'
95 ## Start a music database update
96 key db-update = 21
98 ## Save playlist
99 key save = 'S'
101 ## Add url/file to playlist
102 key add = 'a'
104 ## Move item up
105 key move-up = 11
107 ## Move item down
108 key move-down = 10
110 ## Update screen
111 key update = 12
113 ## Toggle find mode
114 key wrap-mode = 'w'
116 ## Toggle auto center mode
117 key autocenter-mode = 'U'
119 ## Next screen
120 key screen-next = 9
122 ## Previous screen
123 key screen-prev = 353
125 ## Forward find
126 key find = 47
128 ## Forward find next
129 key find-next = 'n'
131 ## Backward find
132 key rfind = 63
134 ## Backward find previous
135 key rfind-next = 'p'
137 ## Jump to
138 key jump = '.'
140 ## Key configuration screen
141 #key screen-keyedit = 'K'