aboutsummaryrefslogtreecommitdiff
path: root/bindings.bb
diff options
context:
space:
mode:
Diffstat (limited to 'bindings.bb')
-rw-r--r--bindings.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings.bb b/bindings.bb
index a5fd9f0..8b46793 100644
--- a/bindings.bb
+++ b/bindings.bb
@@ -61,7 +61,7 @@ Section: File Selection
v,V,Space: # Toggle selection at cursor
bb +toggle
Escape: # Clear selection
- bb +deselect: "$@"
+ [ $# -gt 0 ] && bb +deselect: "$@"
Ctrl-s: # Save the selection
[ $# -gt 0 ] && ask savename "Save selection as: " && printf '%s\0' "$@" > ~/.config/bb/"$savename"
Ctrl-o: # Open a saved selection