mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Clarify state toggling
This commit is contained in:
parent
162922b984
commit
cc65e4098f
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
#define CURSR " > "
|
#define CURSR " > "
|
||||||
#define EMPTY " "
|
#define EMPTY " "
|
||||||
|
|
||||||
int mtimeorder = 0; /* set to 1 to sort by time in the default case */
|
int mtimeorder = 0; /* Set to 1 to sort by time in the default case */
|
||||||
|
|
||||||
struct assoc assocs[] = {
|
struct assoc assocs[] = {
|
||||||
{ "\\.(avi|mp4|mkv|mp3|ogg|flac)$", "mplayer" },
|
{ "\\.(avi|mp4|mkv|mp3|ogg|flac)$", "mplayer" },
|
||||||
|
@ -49,6 +49,6 @@ struct key bindings[] = {
|
||||||
{ '!', SEL_SH },
|
{ '!', SEL_SH },
|
||||||
/* Change dir */
|
/* Change dir */
|
||||||
{ 'c', SEL_CD },
|
{ 'c', SEL_CD },
|
||||||
/* Sort by time */
|
/* Toggle sort by time */
|
||||||
{ 't', SEL_MTIME },
|
{ 't', SEL_MTIME },
|
||||||
};
|
};
|
||||||
|
|
2
noice.1
2
noice.1
|
@ -48,7 +48,7 @@ Enter filter-as-you-type mode.
|
||||||
.It Ic c
|
.It Ic c
|
||||||
Change into the given directory.
|
Change into the given directory.
|
||||||
.It Ic t
|
.It Ic t
|
||||||
Sort by time modified.
|
Toggle sort by time modified.
|
||||||
.It Ic !
|
.It Ic !
|
||||||
Spawn shell in current directory.
|
Spawn shell in current directory.
|
||||||
.It Ic q
|
.It Ic q
|
||||||
|
|
Loading…
Add table
Reference in a new issue