aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authordok <dok@grehack.fr>2019-01-06 18:42:49 +0100
committersin <sin@2f30.org>2019-01-19 17:30:23 +0000
commit4799ca8afd18a7443bdb4faff2ce2c5cd02b84e8 (patch)
tree9f6f4e25c11741f3abba7a5c85c565ede79c426d /config.def.h
parent3ae2cb00d7db3a1aec7d0687bdc32c814d96581a (diff)
downloadnoice-4799ca8afd18a7443bdb4faff2ce2c5cd02b84e8.tar.gz
Add directory sorting
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 74f8a30..8ecec3a 100644
--- a/config.def.h
+++ b/config.def.h
@@ -3,6 +3,7 @@
#define CURSR " > "
#define EMPTY " "
+int dirorder = 0; /* Set to 1 to sort by directory first */
int mtimeorder = 0; /* Set to 1 to sort by time modified */
int icaseorder = 0; /* Set to 1 to sort by ignoring case */
int idletimeout = 0; /* Screensaver timeout in seconds, 0 to disable */
@@ -79,6 +80,8 @@ struct key bindings[] = {
{ '~', SEL_CDHOME },
/* Toggle hide .dot files */
{ '.', SEL_TOGGLEDOT },
+ /* Toggle sort by directory first */
+ { 'd', SEL_DSORT },
/* Toggle sort by time */
{ 't', SEL_MTIME },
/* Toggle case sensitivity */
Un proyecto texto-plano.xyz