mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Reformat help
This commit is contained in:
parent
63ef6d7340
commit
04a806dc09
36
src/nnn.c
36
src/nnn.c
|
@ -4647,25 +4647,25 @@ static void show_help(const char *path)
|
|||
{
|
||||
const char *start, *end;
|
||||
const char helpstr[] = {
|
||||
"0\n"
|
||||
"1NAVIGATION\n"
|
||||
"9Up k Up%-16cPgUp ^U Scroll up\n"
|
||||
"9Dn j Down%-14cPgDn ^D Scroll down\n"
|
||||
"0\n"
|
||||
"1NAVIGATION\n"
|
||||
"9Up k Up%-16cPgUp ^U Page up\n"
|
||||
"9Dn j Down%-14cPgDn ^D Page down\n"
|
||||
"9Lt h Parent%-12c~ ` @ - ~, /, start, prev\n"
|
||||
"5Ret Rt l Open%-20c' First file/match\n"
|
||||
"9g ^A Top%-21c. Toggle hidden\n"
|
||||
"9G ^E End%-21c+ Toggle auto-advance\n"
|
||||
"9b ^/ Bookmark key%-12c, Mark CWD\n"
|
||||
"a1-4 Context 1-4%-7c(Sh)Tab Cycle/new context\n"
|
||||
"aEsc Send to FIFO%-11c^L Redraw\n"
|
||||
"cQ Pick/err, quit%-9c^G QuitCD\n"
|
||||
"cq Quit context%-6c2Esc ^Q Quit\n"
|
||||
"c? Help, conf\n"
|
||||
"1FILTER & PROMPT\n"
|
||||
"c/ Filter%-12cAlt+Esc Unfilter, quit context\n"
|
||||
"aEsc Exit prompt%-12c^L Clear prompt/last filter\n"
|
||||
"b^N Toggle type-to-nav%-0c\n"
|
||||
"1FILES\n"
|
||||
"c, Mark CWD%-13cb ^/ Select bookmark\n"
|
||||
"a1-4 Context%-11c(Sh)Tab Cycle/new context\n"
|
||||
"62Esc ^Q Quit%-20cq Quit context\n"
|
||||
"b^G QuitCD%-18cQ Pick/err, quit\n"
|
||||
"0\n"
|
||||
"1FILTER & PROMPT\n"
|
||||
"c/ Filter%-17c^N Toggle type-to-nav\n"
|
||||
"aEsc Exit prompt%-12c^L Toggle last filter\n"
|
||||
"d%-20cAlt+Esc Unfilter, quit context\n"
|
||||
"0\n"
|
||||
"1FILES\n"
|
||||
"9o ^O Open with...%-12cn Create new/link\n"
|
||||
"9f ^F File details%-12cd Detail mode toggle\n"
|
||||
"b^R Rename/dup%-14cr Batch rename\n"
|
||||
|
@ -4675,13 +4675,15 @@ static void show_help(const char *path)
|
|||
"ca Select all%-14cA Invert sel\n"
|
||||
"9p ^P Copy sel here%-8cw ^W Cp/mv sel as\n"
|
||||
"9v ^V Move sel here%-11cE Edit sel\n"
|
||||
"9x ^X Delete\n"
|
||||
"1MISC\n"
|
||||
"9x ^X Delete%-16cEsc Send to FIFO\n"
|
||||
"0\n"
|
||||
"1MISC\n"
|
||||
"8Alt ; Select plugin%-11c= Launch app\n"
|
||||
"9! ^] Shell%-19c] Cmd prompt\n"
|
||||
"cc Connect remote%-10cu Unmount remote/archive\n"
|
||||
"9t ^T Sort toggles%-12cs Manage session\n"
|
||||
"cT Set time type%-11c0 Lock\n"
|
||||
"b^L Redraw%-18c? Help, conf\n"
|
||||
};
|
||||
|
||||
int fd = create_tmp_file();
|
||||
|
|
Loading…
Reference in a new issue