mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Add shortcut ^S to toggle du mode
This commit is contained in:
parent
f6fd15e088
commit
0a1776e18e
|
@ -237,7 +237,7 @@ optional arguments:
|
|||
n | Create new
|
||||
^R | Rename entry
|
||||
s | Toggle sort by size
|
||||
S | Toggle du mode
|
||||
S, ^S | Toggle du mode
|
||||
t | Toggle sort by mtime
|
||||
! | Spawn SHELL in dir
|
||||
e | Edit entry in EDITOR
|
||||
|
|
2
nnn.1
2
nnn.1
|
@ -84,7 +84,7 @@ Create a new file or directory
|
|||
Rename selected entry
|
||||
.It Ic s
|
||||
Toggle sort by file size
|
||||
.It Ic S
|
||||
.It Ic S, ^S
|
||||
Toggle disk usage analyzer mode
|
||||
.It Ic t
|
||||
Toggle sort by time modified
|
||||
|
|
3
nnn.c
3
nnn.c
|
@ -988,6 +988,7 @@ filterentries(char *path)
|
|||
case CONTROL('O'): // fallthrough
|
||||
case CONTROL('B'): // fallthrough
|
||||
case CONTROL('V'): // fallthrough
|
||||
case CONTROL('S'): // fallthrough
|
||||
case CONTROL('X'): // fallthrough
|
||||
case CONTROL('Q'):
|
||||
goto end;
|
||||
|
@ -1716,7 +1717,7 @@ show_help(char *path)
|
|||
"en | Create new\n"
|
||||
"d^R | Rename entry\n"
|
||||
"es | Toggle sort by size\n"
|
||||
"eS | Toggle du mode\n"
|
||||
"aS, ^S | Toggle du mode\n"
|
||||
"et | Toggle sort by mtime\n"
|
||||
"e! | Spawn SHELL in dir\n"
|
||||
"ee | Edit entry in EDITOR\n"
|
||||
|
|
Loading…
Reference in a new issue