keymap 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. # This is the example keymap file for MOC. You can define your own key
  2. # bindings for MOC commands by creating your own keymap file and setting
  3. # the 'Keymap' option in ~/.moc/config.
  4. #
  5. # The format of this file is:
  6. #
  7. # - Lines beginning with # are comments.
  8. # - Blank lines are ignored.
  9. # - Every other line is expected to be in one of the formats:
  10. #
  11. # COMMAND = [KEY ...]
  12. # COMMAND += KEY ...
  13. #
  14. # The KEY can be:
  15. #
  16. # - Just a char, like i, L, ", *
  17. # - CTRL-KEY sequence: ^k (CTRL-k), ^4
  18. # - ALT-KEY (meta) sequence: M-j (ALT-j), M-/
  19. # - Special keys: DOWN, UP
  20. # LEFT, RIGHT
  21. # HOME, END
  22. # BACKSPACE
  23. # INS, DEL
  24. # ENTER
  25. # PAGE_UP, PAGE_DOWN
  26. # SPACE, TAB
  27. # KEYPAD_CENTER
  28. # ESCAPE
  29. # F1 - F12
  30. #
  31. # Note that the use of a digit as a KEY is deprecated.
  32. #
  33. # Maximum number of KEYs for one COMMAND is 5.
  34. #
  35. # Omitting the KEY for a COMMAND will unbind all its default keys. They
  36. # will also be automatically unbound when you bind new KEYs to it. Individual
  37. # default KEYs will be automatically unbound when they are explicitly bound
  38. # to some other COMMAND.
  39. #
  40. # Using the '+=' form will cause the KEYs to be appended to any existing
  41. # (default or explicit) bindings for the COMMAND. Appending an existing
  42. # default binding for the same COMMAND will cause MOC to think of that KEY
  43. # as then being explicitly bound.
  44. #
  45. # Only one binding for any given COMMAND can appear in the keymap file. One
  46. # exception to this is that if the default keys for a COMMAND are explicitly
  47. # unbound then a subsequent binding may appear for it. A second exception
  48. # is that multiple appending bindings may appear.
  49. #
  50. # Meta-key detection is sensitive to the ESCDELAY environment variable (see
  51. # the manpage for ncurses(3)). In its absence, MOC resets the default
  52. # delay to 25ms. If you need to emulate meta-key sequences using the ESC
  53. # key, then you may need to set the value of ESCDELAY back to its ncurses
  54. # default of 1000ms (but doing so will make the response to the ESC key
  55. # sluggish).
  56. #
  57. # If MOC's keypresses are being filtered through some other program (in a
  58. # GUI environment, for example) which also does meta-key detection, then
  59. # MOC is at the mercy of the timings with which that program presents them.
  60. #
  61. # Default key configuration for MOC (and a list of all available commands):
  62. # MOC control keys:
  63. quit_client = q
  64. quit = Q
  65. # Menu and interface control keys:
  66. go = ENTER
  67. menu_down = DOWN
  68. menu_up = UP
  69. menu_page_down = PAGE_DOWN
  70. menu_page_up = PAGE_UP
  71. menu_first_item = HOME
  72. menu_last_item = END
  73. search_menu = g /
  74. toggle_read_tags = f
  75. toggle_show_time = ^t
  76. toggle_show_format = ^f
  77. toggle_menu = TAB
  78. toggle_layout = l
  79. toggle_hidden_files = H
  80. show_lyrics = L
  81. theme_menu = T
  82. help = h ?
  83. refresh = ^r
  84. reload = r
  85. # Audio playing and positioning keys:
  86. seek_forward = RIGHT
  87. seek_backward = LEFT
  88. seek_forward_fast = ]
  89. seek_backward_fast = [
  90. pause = p SPACE
  91. stop = s
  92. next = n
  93. previous = b
  94. toggle_shuffle = S
  95. toggle_repeat = R
  96. toggle_auto_next = X
  97. toggle_mixer = x
  98. go_url = o
  99. # Volume control keys:
  100. volume_down_1 = <
  101. volume_up_1 = >
  102. volume_down_5 = ,
  103. volume_up_5 = .
  104. volume_10 = M-1
  105. volume_20 = M-2
  106. volume_30 = M-3
  107. volume_40 = M-4
  108. volume_50 = M-5
  109. volume_60 = M-6
  110. volume_70 = M-7
  111. volume_80 = M-8
  112. volume_90 = M-9
  113. # Directory navigation keys: defaults are Shift-number
  114. # (i.e., 'shift 1' -> '!' -> 'Fastdir1').
  115. go_to_a_directory = i
  116. go_to_music_directory = m
  117. go_to_fast_dir1 = !
  118. go_to_fast_dir2 = @
  119. go_to_fast_dir3 = #
  120. go_to_fast_dir4 = $
  121. go_to_fast_dir5 = %
  122. go_to_fast_dir6 = ^
  123. go_to_fast_dir7 = &
  124. go_to_fast_dir8 = *
  125. go_to_fast_dir9 = (
  126. go_to_fast_dir10 = )
  127. go_to_playing_file = G
  128. go_up = U
  129. # Playlist specific keys:
  130. add_file = a
  131. add_directory = A
  132. plist_add_stream = ^u
  133. delete_from_playlist = d
  134. playlist_full_paths = P
  135. plist_move_up = u
  136. plist_move_down = j
  137. save_playlist = V
  138. remove_dead_entries = Y
  139. clear_playlist = C
  140. # Queue manipulation keys:
  141. enqueue_file = z
  142. clear_queue = Z
  143. # User interaction control:
  144. history_up = UP
  145. history_down = DOWN
  146. delete_to_start = ^u
  147. delete_to_end = ^k
  148. cancel = ^x ESCAPE
  149. hide_message = M
  150. # Softmixer specific keys:
  151. toggle_softmixer = w
  152. toggle_make_mono = J
  153. # Equalizer specific keys:
  154. toggle_equalizer = E
  155. equalizer_refresh = e
  156. equalizer_prev = K
  157. equalizer_next = k
  158. # External commands:
  159. mark_start = '
  160. mark_end = "
  161. exec_command1 = F1
  162. exec_command2 = F2
  163. exec_command3 = F3
  164. exec_command4 = F4
  165. exec_command5 = F5
  166. exec_command6 = F6
  167. exec_command7 = F7
  168. exec_command8 = F8
  169. exec_command9 = F9
  170. exec_command10 = F10
  171. # The following commands are available but not assigned to any keys by
  172. # default:
  173. #
  174. # toggle_percent Switch on/off play progress bar time percentage
  175. #