From ae90709b6f846d10ab89f6695490b0752ab02939 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sun, 7 Aug 2016 18:22:01 +0100 Subject: Add vim-like keybindings in ncmpcpp --- ncmpcpp/bindings | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 ncmpcpp/bindings (limited to 'ncmpcpp') diff --git a/ncmpcpp/bindings b/ncmpcpp/bindings new file mode 100644 index 0000000..aecb316 --- /dev/null +++ b/ncmpcpp/bindings @@ -0,0 +1,41 @@ +# 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 -- cgit v1.2.3 From f4ab867e8e8e46fa94d92825e74fc9f70cb7fd82 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sun, 7 Aug 2016 23:02:10 +0100 Subject: Update binding ncmpcpp --- ncmpcpp/bindings | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'ncmpcpp') diff --git a/ncmpcpp/bindings b/ncmpcpp/bindings index aecb316..7758f51 100644 --- a/ncmpcpp/bindings +++ b/ncmpcpp/bindings @@ -1,25 +1,20 @@ -# the t key isn't used and it's easier to press than /, so lets use it +def_key "?" + show_help + 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" +def_key "ctrl-b" page_up -#push_characters "kkkkkkkkkkkkkkk" -def_key "ctrl-d" +def_key "ctrl-f" page_down -#push_characters "jjjjjjjjjjjjjjj" def_key "h" previous_column @@ -34,7 +29,6 @@ def_key "n" def_key "N" previous_found_item -# not used but bound def_key "J" move_sort_order_down def_key "K" -- cgit v1.2.3