aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorLazaros Koromilas <lostd@2f30.org>2019-04-08 12:48:24 +0300
committerLazaros Koromilas <lostd@2f30.org>2019-04-08 13:20:13 +0300
commitb2f2a6fe76bdbba48c0174b4f1eb05caf1a74b71 (patch)
tree184f77e2f318f3f605edb6a1e916b0b2245dc29b /config.def.h
parent6b1ec1959954145d7942ba3b7e65f5cde30485a1 (diff)
downloadnoice-b2f2a6fe76bdbba48c0174b4f1eb05caf1a74b71.tar.gz
Add sort by version number mode
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 9aaba7a..dafc891 100644
--- a/config.def.h
+++ b/config.def.h
@@ -6,6 +6,7 @@
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 versorder = 0; /* Set to 1 to sort by version number */
int idletimeout = 0; /* Screensaver timeout in seconds, 0 to disable */
int showhidden = 0; /* Set to 1 to show hidden files by default */
int usecolor = 0; /* Set to 1 to enable color attributes */
@@ -89,6 +90,8 @@ struct key bindings[] = {
{ 't', SEL_MTIME },
/* Toggle case sensitivity */
{ 'i', SEL_ICASE },
+ /* Toggle sort by version number */
+ { 'v', SEL_VERS },
{ CONTROL('L'), SEL_REDRAW },
/* Run command */
{ 'z', SEL_RUN, "top" },
Un proyecto texto-plano.xyz