From b9e2bc280befaf259bb5a61d1b6e41de3b8ed3c7 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 8 Nov 2019 15:28:01 +0100 Subject: Cleanup of bb->selected (renamed from bb->firstselected) to ensure that $n arguments for scripts are in FIFO order instead of LIFO order (i.e. $1 is the first selected item). `Ctrl-a` is also now bound to use `+select` instead of `+select: *` which ensures that the correct sorting order is preserved. --- bindings.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bindings.bb') diff --git a/bindings.bb b/bindings.bb index 792d5ca..5088a4e 100644 --- a/bindings.bb +++ b/bindings.bb @@ -81,8 +81,7 @@ Shift-Home: # Spread the selection to the top Shift-End: # Spread the selection to the bottom bb +spread:100%n Ctrl-a: # Select all files here - if [ $BBDOTFILES ]; then bb +sel: * .[!.]* ..?* - else bb +sel: *; fi + bb +select Section: File Actions Left click: # Move cursor to file -- cgit v1.2.3