aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authordok <dok@grehack.fr>2019-01-06 16:38:13 +0100
committersin <sin@2f30.org>2019-01-19 17:08:40 +0000
commit3ae2cb00d7db3a1aec7d0687bdc32c814d96581a (patch)
tree2f98ee40aa4874f9b12866ce1e0a561b8262f07f /config.def.h
parent383abc8aa9265f3a81142973106dcaeaded63e85 (diff)
downloadnoice-3ae2cb00d7db3a1aec7d0687bdc32c814d96581a.tar.gz
Add case insensitive comparison
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 aca34f1..74f8a30 100644
--- a/config.def.h
+++ b/config.def.h
@@ -4,6 +4,7 @@
#define EMPTY " "
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 */
int showhidden = 0; /* Set to 1 to show hidden files by default */
char *idlecmd = "rain"; /* The screensaver program */
@@ -80,6 +81,8 @@ struct key bindings[] = {
{ '.', SEL_TOGGLEDOT },
/* Toggle sort by time */
{ 't', SEL_MTIME },
+ /* Toggle case sensitivity */
+ { 'i', SEL_ICASE },
{ CONTROL('L'), SEL_REDRAW },
/* Run command */
{ 'z', SEL_RUN, "top" },
Un proyecto texto-plano.xyz