mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Remove shortcut F2 for refresh.
F2 is not very portable e.g., doesn't work over putty (default settings).
This commit is contained in:
parent
be337d883e
commit
f53f1b86e0
|
@ -221,7 +221,7 @@ To cook yourself, download the [latest stable release](https://github.com/jarun/
|
||||||
o | Open dir in file manager
|
o | Open dir in file manager
|
||||||
p | Open entry in PAGER
|
p | Open entry in PAGER
|
||||||
^K | Invoke file path copier
|
^K | Invoke file path copier
|
||||||
^L, F2 | Force a redraw, unfilter
|
^L | Force a redraw, unfilter
|
||||||
? | Show help, settings
|
? | Show help, settings
|
||||||
Q | Quit and change dir
|
Q | Quit and change dir
|
||||||
q, ^Q | Quit
|
q, ^Q | Quit
|
||||||
|
@ -231,7 +231,7 @@ To cook yourself, download the [latest stable release](https://github.com/jarun/
|
||||||
|
|
||||||
Filters support regexes to instantly (search-as-you-type) list the matching entries in the current directory.
|
Filters support regexes to instantly (search-as-you-type) list the matching entries in the current directory.
|
||||||
|
|
||||||
There are 3 ways to reset a filter: <kbd>^L</kbd> (or <kbd>F2</kbd>), a search with no matches or an extra backspace at the filter prompt (like vi).
|
There are 3 ways to reset a filter: <kbd>^L</kbd>, a search with no matches or an extra backspace at the filter prompt (like vi).
|
||||||
|
|
||||||
Common examples: If you want to list all matches starting with the filter expression, start the expression with a `^` (caret) symbol. Type `\.mkv` to list all MKV files.
|
Common examples: If you want to list all matches starting with the filter expression, start the expression with a `^` (caret) symbol. Type `\.mkv` to list all MKV files.
|
||||||
|
|
||||||
|
|
1
config.h
1
config.h
|
@ -138,7 +138,6 @@ static struct key bindings[] = {
|
||||||
{ 't', SEL_MTIME, "", "" },
|
{ 't', SEL_MTIME, "", "" },
|
||||||
/* Redraw window */
|
/* Redraw window */
|
||||||
{ CONTROL('L'), SEL_REDRAW, "", "" },
|
{ CONTROL('L'), SEL_REDRAW, "", "" },
|
||||||
{ KEY_F(2), SEL_REDRAW, "", "" },
|
|
||||||
/* Copy currently selected file path */
|
/* Copy currently selected file path */
|
||||||
{ CONTROL('K'), SEL_COPY, "", "" },
|
{ CONTROL('K'), SEL_COPY, "", "" },
|
||||||
/* Show rename prompt */
|
/* Show rename prompt */
|
||||||
|
|
6
nnn.1
6
nnn.1
|
@ -93,7 +93,7 @@ Open directory in NNN_DE_FILE_MANAGER
|
||||||
Open current entry in PAGER (fallback less)
|
Open current entry in PAGER (fallback less)
|
||||||
.It Ic ^K
|
.It Ic ^K
|
||||||
Invoke file path copier
|
Invoke file path copier
|
||||||
.It Ic ^L, [F2]
|
.It Ic ^L
|
||||||
Force a redraw, unfilter
|
Force a redraw, unfilter
|
||||||
.It Ic \&?
|
.It Ic \&?
|
||||||
Toggle help and settings screen
|
Toggle help and settings screen
|
||||||
|
@ -156,8 +156,8 @@ instructions.
|
||||||
Filters support regexes to instantly (search-as-you-type) list the matching
|
Filters support regexes to instantly (search-as-you-type) list the matching
|
||||||
entries in the current directory.
|
entries in the current directory.
|
||||||
.Pp
|
.Pp
|
||||||
There are 3 ways to reset a filter: \fI^L\fR (or \fIF2\fR), a search with no
|
There are 3 ways to reset a filter: \fI^L\fR, a search with no matches or an
|
||||||
matches or an extra backspace at the filter prompt (like vi).
|
extra backspace at the filter prompt (like vi).
|
||||||
.Pp
|
.Pp
|
||||||
Common examples: If you want to list all matches starting with the filter
|
Common examples: If you want to list all matches starting with the filter
|
||||||
expression, start the expression with a
|
expression, start the expression with a
|
||||||
|
|
2
nnn.c
2
nnn.c
|
@ -1564,7 +1564,7 @@ show_help(char *path)
|
||||||
"eo | Open dir in file manager\n"
|
"eo | Open dir in file manager\n"
|
||||||
"ep | Open entry in PAGER\n"
|
"ep | Open entry in PAGER\n"
|
||||||
"d^K | Invoke file path copier\n"
|
"d^K | Invoke file path copier\n"
|
||||||
"9^L, F2 | Force a redraw, unfilter\n"
|
"d^L | Force a redraw, unfilter\n"
|
||||||
"e? | Show help, settings\n"
|
"e? | Show help, settings\n"
|
||||||
"eQ | Quit and change dir\n"
|
"eQ | Quit and change dir\n"
|
||||||
"aq, ^Q | Quit\n\n");
|
"aq, ^Q | Quit\n\n");
|
||||||
|
|
Loading…
Reference in a new issue