aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-10-21 05:10:04 +0200
committerPřemysl Janouch <p@janouch.name>2018-10-21 05:10:04 +0200
commit1349e399410805127c9698c11e315763034b8c1a (patch)
treea03206fa2be95bdfab493e57f85848ab11458ff4
parenta53d24861f79e925a1ed22350860e1f19cba4340 (diff)
downloadnncmpp-1349e399410805127c9698c11e315763034b8c1a.tar.gz
nncmpp-1349e399410805127c9698c11e315763034b8c1a.tar.xz
nncmpp-1349e399410805127c9698c11e315763034b8c1a.zip
Add keyboard shortcut d for deletion
As in vi(1).
-rw-r--r--nncmpp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nncmpp.c b/nncmpp.c
index 44199b8..2178e43 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -2002,6 +2002,7 @@ g_normal_defaults[] =
// Not sure how to set these up, they're pretty arbitrary so far
{ "Enter", ACTION_CHOOSE },
{ "Delete", ACTION_DELETE },
+ { "d", ACTION_DELETE },
{ "Backspace", ACTION_UP },
{ "v", ACTION_MULTISELECT },
{ "/", ACTION_MPD_SEARCH },