From ae1d656a270b4ca8e6b6f3f4e24a9d916759e15c Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 25 Feb 2020 21:37:52 +0530 Subject: Update help, check for mocp before using mocplay --- plugins/nuke | 2 +- src/nnn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/nuke b/plugins/nuke index 604777b..7e9c6ce 100755 --- a/plugins/nuke +++ b/plugins/nuke @@ -99,7 +99,7 @@ handle_pdf() { } handle_audio() { - if which mocplay >/dev/null 2>&1; then + if which mocp >/dev/null 2>&1 && which mocplay >/dev/null 2>&1; then mocplay "${FPATH}" "opener" >/dev/null 2>&1 exit 0 elif which mpv >/dev/null 2>&1; then diff --git a/src/nnn.c b/src/nnn.c index 4be2a78..1f7197f 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3973,7 +3973,7 @@ static void show_help(const char *path) "9g ^A Top%-18c. F5 Toggle hidden\n" "9G ^E End%-21c0 Lock terminal\n" "9b ^/ Bookmark key%-12c, Pin CWD\n" - "a1-4 Context 1-4%-8c(B)Tab Cycle context\n" + "a1-4 Context 1-4%-7c(Sh)Tab Cycle context\n" "c/ Filter%-17c^N Nav-as-you-type toggle\n" "aEsc Exit prompt%-12c^L Redraw/clear prompt\n" "c? Help, conf%-14c+ Toggle proceed on open\n" -- cgit v1.2.3-70-g09d2