1
1
mirror of https://github.com/jarun/nnn.git synced 2024-09-21 01:37:38 +03:00

Clarify state toggling

This commit is contained in:
lostd 2015-02-05 17:53:50 +02:00
parent 162922b984
commit cc65e4098f
2 changed files with 3 additions and 3 deletions

View File

@ -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 },
}; };

View File

@ -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