Permalink
Browse files

customize ncmpcpp's keys to be more vim like

  • Loading branch information...
1 parent 7c921af commit 2841153c373a1485cffab99598dad459c38fe5d4 @linsong committed Nov 9, 2011
Showing with 150 additions and 0 deletions.
  1. +150 −0 .ncmpcpp/keys
View
@@ -0,0 +1,150 @@
+#####################################################
+## this is example key configuration file, copy it ##
+## to ~/.ncmpcpp/keys and set up your preferences ##
+#####################################################
+##
+## Tips:
+## - it's possible to bind maximum two keys to a command
+## - keys can be defined with a character or a decimal value
+## - a command can be disabled by binding it to 0
+##
+## Note: First bind of volume_up/down
+## will be used to switch between columns.
+##
+#
+#key_up = 259 'k'
+#
+#key_down = 258 'j'
+#
+key_page_up = 339 2
+#
+key_page_down = 338 6
+#
+key_home = 'g' 262
+#
+key_end = 'G' 360
+#
+#key_space = 32
+#
+#key_enter = 10
+#
+#key_delete = 330 'd'
+#
+#key_volume_up = 261 '+'
+#
+#key_volume_down = 260 '-'
+#
+#key_toggle_space_mode = 't'
+#
+#key_toggle_add_mode = 'T'
+#
+#key_toggle_mouse = '|'
+#
+#key_screen_switcher = 9
+#
+#key_help = '1' 265
+#
+#key_playlist = '2' 266
+#
+#key_browser = '3' 267
+#
+#key_search_engine = '4' 268
+#
+#key_media_library = '5' 269
+#
+#key_playlist_editor = '6' 270
+#
+#key_tag_editor = '7' 271
+#
+#key_outputs = '8' 272
+#
+#key_clock = '0' 274
+#
+#key_stop = 's'
+#
+key_pause = 'p'
+#
+#key_next = '>'
+#
+#key_prev = '<'
+#
+#key_seek_forward = 'f'
+#
+#key_seek_backward = 'b'
+#
+#key_toggle_repeat = 'r'
+#
+#key_toggle_random = 'z'
+#
+#key_toggle_single = 'y'
+#
+#key_toggle_consume = 'R'
+#
+#key_shuffle = 'Z'
+#
+#key_toggle_crossfade = 'x'
+#
+#key_set_crossfade = 'X'
+#
+#key_update_db = 'u'
+#
+#key_sort_playlist = 22
+#
+key_apply_filter = 'F'
+#
+#key_find_forward = '/'
+#
+#key_find_backward = '?'
+#
+key_next_found_position = 'n'
+#
+key_prev_found_position = 'N'
+#
+#key_toggle_find_mode = 'w'
+#
+#key_edit_tags = 'e'
+#
+key_go_to_position = ':'
+#
+#key_song_info = 'i'
+#
+#key_artist_info = 'I'
+#
+#key_lyrics = 'l'
+#
+#key_reverse_selection = 'v'
+#
+#key_deselect_all = 'V'
+#
+#key_add_selected_items = 'A'
+#
+#key_clear = 'c'
+#
+#key_crop = 'C'
+#
+key_move_song_up = 'K'
+#
+key_move_song_down = 'J'
+#
+#key_move_to = 'M'
+#
+#key_add = 'a'
+#
+#key_save_playlist = 'S'
+#
+#key_go_to_now_playing = 'o'
+#
+#key_toggle_auto_center = 'U'
+#
+key_toggle_display_mode = 'P'
+#
+#key_toggle_lyrics_db = 'L'
+#
+key_go_to_containing_directory = 7
+#
+#key_go_to_parent_dir = 263 127
+#
+#key_switch_tag_type_list = '`'
+#
+#key_quit = 'q' 'Q'
+#

0 comments on commit 2841153

Please sign in to comment.