summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-08-07 18:22:01 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-08-07 18:22:01 +0100
commitae90709b6f846d10ab89f6695490b0752ab02939 (patch)
treedc2f9886c12612a41f50f4f830f53ee12a47039d
parentcded98110a620181f67c974554e9ee033ab87805 (diff)
Add vim-like keybindings in ncmpcpp
-rw-r--r--ncmpcpp/bindings41
1 files changed, 41 insertions, 0 deletions
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