mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Minor refactor
This commit is contained in:
parent
6ac353446f
commit
d2f69875be
|
@ -3610,7 +3610,7 @@ static void show_help(const char *path)
|
||||||
"cV Move sel here%-10c^V Copy/move sel as\n"
|
"cV Move sel here%-10c^V Copy/move sel as\n"
|
||||||
"cX Delete sel%-13c^X Delete entry\n"
|
"cX Delete sel%-13c^X Delete entry\n"
|
||||||
"cy List sel%-15c^Y Edit sel\n"
|
"cy List sel%-15c^Y Edit sel\n"
|
||||||
"9o ^T Order toggele%-0c\n"
|
"9o ^T Order toggle%-0c\n"
|
||||||
"1MISC\n"
|
"1MISC\n"
|
||||||
"9! ^] Shell%-16c; ^F Fire plugin\n"
|
"9! ^] Shell%-16c; ^F Fire plugin\n"
|
||||||
"c] Cmd prompt%-13c^P Pick plugin\n"
|
"c] Cmd prompt%-13c^P Pick plugin\n"
|
||||||
|
@ -4969,11 +4969,10 @@ nochange:
|
||||||
cfg.showdetail ? (printptr = &printent_long) : (printptr = &printent);
|
cfg.showdetail ? (printptr = &printent_long) : (printptr = &printent);
|
||||||
cfg.blkorder = 0;
|
cfg.blkorder = 0;
|
||||||
continue;
|
continue;
|
||||||
case SEL_ORDER:
|
default: /* SEL_ORDER */
|
||||||
r = get_input(messages[MSG_ORDER]);
|
r = get_input(messages[MSG_ORDER]);
|
||||||
|
|
||||||
if ((r == 'a' || r == 'd' || r == 'e'
|
if ((r == 'a' || r == 'd' || r == 'e' || r == 's' || r == 't')
|
||||||
|| r == 's' || r == 't')
|
|
||||||
&& (entrycmpfn == &reventrycmp))
|
&& (entrycmpfn == &reventrycmp))
|
||||||
entrycmpfn = &entrycmp;
|
entrycmpfn = &entrycmp;
|
||||||
|
|
||||||
|
@ -5037,8 +5036,6 @@ nochange:
|
||||||
cfg.filtermode ? presel = FILTER : statusbar(path);
|
cfg.filtermode ? presel = FILTER : statusbar(path);
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cfg.filtermode)
|
if (cfg.filtermode)
|
||||||
|
|
Loading…
Reference in a new issue