Skip to content

Commit

Permalink
Update help
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Jul 12, 2020
1 parent 387bd04 commit a02ff64
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
13 changes: 7 additions & 6 deletions nnn.1
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,13 @@ sessions.
.Pp
Special keys at filter prompt:
.Bd -literal
------ + ---------------------------------------
Key | Function
------ + ---------------------------------------
^char | Usual keybind functionality
Esc | Exit filter prompt but skip dir refresh
------ + ---------------------------------------
-------- + ---------------------------------------
Key | Function
-------- + ---------------------------------------
^char | Usual keybind functionality
Esc | Exit filter prompt but skip dir refresh
Alt+Esc | Exit filter prompt and refresh dir
-------- + ---------------------------------------
.Ed
.Pp
Special keys at \fBempty filter prompt\fR:
Expand Down
3 changes: 2 additions & 1 deletion src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -4213,8 +4213,9 @@ static void show_help(const char *path)
"c? Help, conf%-13c^G QuitCD\n"
"cq Quit context%-7c^Q (Q) Quit (with err)\n"
"1FILTER & PROMPT\n"
"c/ Filter%-17c^N Toggle type-to-nav\n"
"c/ Filter%-12cAlt+Esc Clear filter & redraw\n"
"aEsc Exit prompt%-12c^L Clear prompt/last filter\n"
"b^N Toggle type-to-nav%-0c\n"
"1FILES\n"
"9o ^O Open with...%-12cn Create new/link\n"
"9f ^F File details%-12cd Detail mode toggle\n"
Expand Down

0 comments on commit a02ff64

Please sign in to comment.