mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Update help, check for mocp before using mocplay
This commit is contained in:
parent
a780ab1c80
commit
ae1d656a27
|
@ -99,7 +99,7 @@ handle_pdf() {
|
||||||
}
|
}
|
||||||
|
|
||||||
handle_audio() {
|
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
|
mocplay "${FPATH}" "opener" >/dev/null 2>&1
|
||||||
exit 0
|
exit 0
|
||||||
elif which mpv >/dev/null 2>&1; then
|
elif which mpv >/dev/null 2>&1; then
|
||||||
|
|
|
@ -3973,7 +3973,7 @@ static void show_help(const char *path)
|
||||||
"9g ^A Top%-18c. F5 Toggle hidden\n"
|
"9g ^A Top%-18c. F5 Toggle hidden\n"
|
||||||
"9G ^E End%-21c0 Lock terminal\n"
|
"9G ^E End%-21c0 Lock terminal\n"
|
||||||
"9b ^/ Bookmark key%-12c, Pin CWD\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"
|
"c/ Filter%-17c^N Nav-as-you-type toggle\n"
|
||||||
"aEsc Exit prompt%-12c^L Redraw/clear prompt\n"
|
"aEsc Exit prompt%-12c^L Redraw/clear prompt\n"
|
||||||
"c? Help, conf%-14c+ Toggle proceed on open\n"
|
"c? Help, conf%-14c+ Toggle proceed on open\n"
|
||||||
|
|
Loading…
Reference in a new issue