Skip to content

Instantly share code, notes, and snippets.

@res0nat0r
Forked from Soft/keys
Last active January 11, 2018 05:15
Show Gist options
  • Save res0nat0r/5a11943f2a295a3bd5f7c2bc4df980bd to your computer and use it in GitHub Desktop.
Save res0nat0r/5a11943f2a295a3bd5f7c2bc4df980bd to your computer and use it in GitHub Desktop.
vim for mpd / ncmpcpp
Located in ~/.ncmpcpp/bindings
key_move_song_up = 'K'
key_move_song_down = 'J'
key_next_found_position = 'n'
key_prev_found_position = 'N'
key_prev_column = 260 'h'
key_next_column = 261 'l'
key_lyrics = '.'
key_home = 262 'g'
key_end = 360 'G'
# Located in ~/.ncmpcpp/bindings
# the t key isn't used and it's easier to press than /, so lets use it
def_key "t"
find
def_key "t"
find_item_forward
def_key "+"
show_clock
def_key "="
volume_up
def_key "j"
scroll_down
def_key "k"
scroll_up
def_key "ctrl-u"
page_up
#push_characters "kkkkkkkkkkkkkkk"
def_key "ctrl-d"
page_down
#push_characters "jjjjjjjjjjjjjjj"
def_key "h"
previous_column
def_key "l"
next_column
def_key "."
show_lyrics
def_key "n"
next_found_item
def_key "N"
previous_found_item
# not used but bound
def_key "J"
move_sort_order_down
def_key "K"
move_sort_order_up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment