summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd758f1)
raw | patch | inline | side by side (parent: dd758f1)
author | Kalle Wallin <kaw@linux.se> | |
Thu, 8 Jul 2004 14:24:35 +0000 (14:24 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Thu, 8 Jul 2004 14:24:35 +0000 (14:24 +0000) |
ChangeLog | patch | blob | history | |
doc/Makefile.am | patch | blob | history | |
doc/keys.sample | [new file with mode: 0644] | patch | blob |
doc/ncmpc.lirc | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 0d8c0fc2d819aead3f2880b0df13743c0c89241c..87003937e8ae596de5f01c84363c1b926f5ad714 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2004-07-08 Kalle Wallin <kaw@linux.se>
+ * doc/keys.sample: Welcome back
+
2004-07-06 Kalle Wallin <kaw@linux.se>
* configure.ac: display a warning when NLS is disabled
+ * ncmpc-0.11.0-rc1 (r1798)
2004-07-03 Kalle Wallin <kaw@linux.se>
* wreadln.c, screen_utils.c: ignore mouse events (wgetch)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 6bf1f8b55d252ace6de6807b04b3e52eb4b4616e..27ab24588c9682432d411c559fb47e2295b8705a 100644 (file)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
man_MANS = ncmpc.1
docdir = $(prefix)/share/doc/$(PACKAGE)
-doc_DATA = config.sample ncmpc.lirc
+doc_DATA = config.sample keys.sample ncmpc.lirc
EXTRA_DIST = $(man_MANS) $(doc_DATA)
diff --git a/doc/keys.sample b/doc/keys.sample
--- /dev/null
+++ b/doc/keys.sample
@@ -0,0 +1,141 @@
+##
+## Key bindings for ncmpc (~/.ncmpc/keys)
+##
+##
+## Its possible to bind maximum three keys to a command
+## Keys can be defined with a character or a decimal/hexadecimal value.
+## A command can be disabled by binding it to 0 (key bind quit = 0).
+##
+## Example - bind the Q key to quit in three different ways:
+## (character, decimal [81], hexadecimal [51])
+##
+## key quit = 'Q'
+## key quit = 81
+## key quit = 0x51
+##
+
+## Quit
+key quit = 'q', 'Q', 3
+
+## Move cursor up
+key up = 259, 'k'
+
+## Move cursor down
+key down = 258, 'j'
+
+## Home
+key home = 262, 1
+
+## End
+key end = 360, 5
+
+## Page up
+key pgup = 339
+
+## Page down
+key pgdn = 338
+
+## Help screen
+#key screen-help = '1', 265, 'h'
+
+## Playlist screen
+key screen-playlist = '2', 266
+
+## Browse screen
+key screen-browse = '3', 267
+
+## Play/Enter directory
+key play = 13
+
+## Pause
+key pause = 'P'
+
+## Stop
+key stop = 's', 263
+
+## Next track
+key next = 62
+
+## Previous track
+key prev = 60
+
+## Seek forward
+key seek-forward = 'f'
+
+## Seek backward
+key seek-backward = 'b'
+
+## Increase volume
+key volume-up = 43, 261
+
+## Decrease volume
+key volume-down = 45, 260
+
+## Select/deselect song in playlist
+key select = 32
+
+## Delete song from playlist
+key delete = 330, 'd'
+
+## Shuffle playlist
+key shuffle = 'Z'
+
+## Clear playlist
+key clear = 'c'
+
+## Toggle repeat mode
+key repeat = 'r'
+
+## Toggle random mode
+key random = 'z'
+
+## Toggle crossfade mode
+key crossfade = 'x'
+
+## Start a music database update
+key db-update = 21
+
+## Save playlist
+key save = 'S'
+
+## Add url/file to playlist
+key add = 'a'
+
+## Move item up
+key move-up = 11
+
+## Move item down
+key move-down = 10
+
+## Update screen
+key update = 12
+
+## Toggle find mode
+key wrap-mode = 'w'
+
+## Toggle auto center mode
+key autocenter-mode = 'U'
+
+## Next screen
+key screen-next = 9
+
+## Previous screen
+key screen-prev = 353
+
+## Forward find
+key find = 47
+
+## Forward find next
+key find-next = 'n'
+
+## Backward find
+key rfind = 63
+
+## Backward find previous
+key rfind-next = 'p'
+
+## Key configuration screen
+#key screen-keyedit = 'K'
+
+
+
diff --git a/doc/ncmpc.lirc b/doc/ncmpc.lirc
index ee77a8f0adc0e47b14ac2ca1545fe4d38641e835..fdc7f00991655d7ea2a3311c62b2040767bee3f6 100644 (file)
--- a/doc/ncmpc.lirc
+++ b/doc/ncmpc.lirc
button = CD_INDEX_NEXT
prog = irpty
repeat = 0
- config = a
+ config = \x20
end
# Delete song