Reformat help

This commit is contained in:
Arun Prakash Jana 2021-06-27 20:43:26 +05:30
parent 63ef6d7340
commit 04a806dc09
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

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