From 2d7d20f9a16b7fade65459d78b14be6367a02f9f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 29 May 2019 17:26:18 -0700 Subject: Overhaul of sorting and columns, simplifying and unifying things a bit --- config.def.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index e77abe9..a3f077c 100644 --- a/config.def.h +++ b/config.def.h @@ -29,7 +29,7 @@ jump: Jump to the mark associated with mark:[=] Associate with (or current dir, if blank) move: Move the cursor a numeric amount - option:([=|%n])+ Set options (see below) + option:(=)+ Set space-separated options (see below) quit Quit bb refresh Refresh the file listing scroll: Scroll the view a numeric amount @@ -38,8 +38,7 @@ toggle: Toggle the selection status of Currently supported options: - 's': sort, one of (n)ame (s)ize (c)reation (m)odification (a)ccess (p)ermission (r)andom - 'r': reverse-sort (boolean) + 'sort': a list of things to sort by. '.': dotfiles visibility (bit 1: "..", bit 2: ".", bit 3: .whatever) 'i': interleave files and directories (boolean), when false, directories are always at the top '0'-'9': what to put in each of the (maximum of 10) columns (one of: [nscmap]) @@ -109,7 +108,7 @@ const char *startupcmds[] = { "+mark:0", "+mark:~=~", "+mark:h=~", "+mark:/=/", "+mark:c=~/.config", "+mark:l=~/.local", // Default column and sorting options: - "+opt:0=+,1=s,2=m,3=p,4=n,s=n,E=1,.=1", + "+opt:sort=+/+n col=*smpn aligns=ccccl", NULL, // NULL-terminated array }; -- cgit v1.2.3