aboutsummaryrefslogtreecommitdiffstats
path: root/_ncmpcpp/bindings
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-01-07 16:01:25 +0800
committerAaron LI <aaronly.me@gmail.com>2016-01-07 16:01:25 +0800
commitc7b13213013b1027116027444d7f7c817d9ce6d9 (patch)
treefb9f22ce3c6985f18b687189013293cafc9138ee /_ncmpcpp/bindings
parentcf806629e50309daa66f6da96f6f1d8a1290ee1b (diff)
downloaddotfiles-c7b13213013b1027116027444d7f7c817d9ce6d9.tar.bz2
Update ncmpcpp and mpd configurations.
* ncmpcpp/config: update according to the newest example, drop unnecessary comments and key-value pairs * ncmpcpp/bindings: key bindings for new version (>= 0.6) ncmpcpp remove original/deprecated 'keys'; tweak to be vi-like. * mpdconf: rename "My FIFO" to "MPD FIFO"
Diffstat (limited to '_ncmpcpp/bindings')
-rw-r--r--_ncmpcpp/bindings78
1 files changed, 78 insertions, 0 deletions
diff --git a/_ncmpcpp/bindings b/_ncmpcpp/bindings
new file mode 100644
index 0000000..9934aa3
--- /dev/null
+++ b/_ncmpcpp/bindings
@@ -0,0 +1,78 @@
+##
+## ~/.ncmpcpp/bindings
+## bindings/keys configuration file for ncmpcpp (>= 0.6)
+##
+## See /usr/share/doc/ncmpcpp/examples/bindings.gz for more details.
+##
+## Tweak ncmpcpp to be vi-like.
+##
+## Aaron LI
+## 2016-01-08
+##
+
+def_key "j"
+ scroll_down
+
+def_key "k"
+ scroll_up
+
+def_key "ctrl_j"
+ move_selected_items_down
+
+def_key "ctrl_k"
+ move_selected_items_up
+
+def_key "h"
+ previous_column
+
+def_key "h"
+ master_screen
+
+def_key "l"
+ next_column
+
+def_key "l"
+ slave_screen
+
+def_key "g"
+ move_home
+
+def_key "G"
+ move_end
+
+def_key "n"
+ next_found_item
+
+def_key "N"
+ previous_found_item
+
+def_key "I"
+ jump_to_browser
+
+def_key "d"
+ delete_playlist_items
+
+def_key "'"
+ jump_to_playing_song
+
+def_key "space"
+ pause
+
+def_key ","
+ previous
+
+def_key "."
+ next
+
+def_key ";"
+ show_lyrics
+
+def_key "o"
+ show_clock
+
+def_key "-"
+ volume_down
+
+def_key "="
+ volume_up
+