From b7ab7f0f96819d0e4f6ab50bd676c13af3dc06b3 Mon Sep 17 00:00:00 2001 From: kageru Date: Sun, 1 Apr 2018 20:44:14 +0200 Subject: [PATCH] more vim bindings in ncmpcpp --- .ncmpcpp/bindings | 26 ++++++++++++++++++++++---- .ncmpcpp/config | 1 + 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.ncmpcpp/bindings b/.ncmpcpp/bindings index 6beb17c..006e844 100644 --- a/.ncmpcpp/bindings +++ b/.ncmpcpp/bindings @@ -151,16 +151,24 @@ # #def_key "XF86AudioPlay" -# pause +# pause #def_key "XF86AudioNext" -# next +# next def_key "j" scroll_down def_key "k" scroll_up -def_key "ctrl-u" - page_up +def_key "l" + toggle_output +def_key "l" + enter_directory +def_key "l" + run_action +# this allows me to add an entire folder to the playlist with shift+L, while navitation is still bound to l +# We can also add single tracks with l as defined further down +def_key "L" + play_item def_key "ctrl-d" page_down @@ -168,12 +176,22 @@ def_key "h" previous_column def_key "l" next_column +def_key "l" + play_item def_key "n" next_found_item def_key "N" previous_found_item +def_key "J" + select_item + scroll_down +def_key "K" + select_item + scroll_up + + #def_key "mouse" # mouse_event # diff --git a/.ncmpcpp/config b/.ncmpcpp/config index 6255dd9..2528d51 100644 --- a/.ncmpcpp/config +++ b/.ncmpcpp/config @@ -5,6 +5,7 @@ visualizer_in_stereo = "yes" visualizer_type = "spectrum" visualizer_look = "+|" user_interface = "alternative" +mpd_music_dir = "/mnt/calliope/Music" display_bitrate = "yes" autocenter_mode = "yes" centered_cursor = "yes"