mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Change archive list shortcut to 'F'
This commit is contained in:
parent
20e8116a6c
commit
79cbc40a7f
|
@ -231,6 +231,8 @@ Search keyword and option completion scripts for Bash, Fish and Zsh can be found
|
|||
e | Edit entry in EDITOR
|
||||
o | Open dir in file manager
|
||||
p | Open entry in PAGER
|
||||
F | List archive
|
||||
^X | Extract archive
|
||||
^K | Invoke file path copier
|
||||
^L | Redraw, clear prompt
|
||||
? | Help, settings
|
||||
|
|
2
nnn.1
2
nnn.1
|
@ -93,7 +93,7 @@ Open current entry in EDITOR (fallback vi)
|
|||
Open directory in NNN_DE_FILE_MANAGER
|
||||
.It Ic p
|
||||
Open current entry in PAGER (fallback less)
|
||||
.It Ic f
|
||||
.It Ic F
|
||||
List files in archive
|
||||
.It Ic ^X
|
||||
Extract archive in current directory
|
||||
|
|
2
nnn.c
2
nnn.c
|
@ -1692,7 +1692,7 @@ show_help(char *path)
|
|||
"ee | Edit entry in EDITOR\n"
|
||||
"eo | Open dir in file manager\n"
|
||||
"ep | Open entry in PAGER\n"
|
||||
"ef | List archive\n"
|
||||
"eF | List archive\n"
|
||||
"d^X | Extract archive\n"
|
||||
"d^K | Invoke file path copier\n"
|
||||
"d^L | Redraw, clear prompt\n"
|
||||
|
|
2
nnn.h
2
nnn.h
|
@ -134,7 +134,7 @@ static struct key bindings[] = {
|
|||
/* Open dir in desktop file manager */
|
||||
{ 'o', SEL_DFB, "", "" },
|
||||
/* List archive */
|
||||
{ 'f', SEL_LIST, "-l", "" },
|
||||
{ 'F', SEL_LIST, "-l", "" },
|
||||
/* Extract archive */
|
||||
{ CONTROL('X'), SEL_EXTRACT, "-x", "" },
|
||||
/* Toggle sort by size */
|
||||
|
|
Loading…
Reference in a new issue