aboutsummaryrefslogtreecommitdiff
path: root/bindings.bb
AgeCommit message (Collapse)Author
2020-04-08Some overhaul and refactoring. bbstartup.sh and bindings.bb have beenBruce Hill
moved into scripts/bbstartup and scripts/bbbindkeys alongside the other scripts. Some minor bugs have been fixed as well, and a few bindings added.
2020-02-24Removed some unnecessary semicolons and cleaned up regex renameBruce Hill
2020-02-24Major update: instead of defining all the helper functions as staticBruce Hill
C-strings prefixed to commands (modified by the Makefile), the helper functions are now standalone scripts in the helpers/ dir, which gets added to "$PATH" when running bb.
2020-02-23API tweaks and documentation updates.Bruce Hill
2020-02-22Initial working version using globbing.Bruce Hill
2019-11-24Added Ctrl-L for '+refresh' to follow vim, etc.Bruce Hill
2019-11-11Fix for creating files/dirs with "--"Bruce Hill
2019-11-11Refactored `bb +...` to `bbcmd ...` within bb bindings. This makesBruce Hill
things a lot less ambiguous. Also removed the default marks created in bbstartup.sh and ensured that `$XDG_DATA_HOME` and `$XDG_CONFIG_HOME` always get set as environment variables.
2019-11-11Switched bindings to use `expr` instead of `grep` for openingBruce Hill
2019-11-09Added 'select pattern' and 'unselect pattern' bindings and improvedBruce Hill
correctness of `find`-based bindings.
2019-11-08Fixed up loading/saving selectionsBruce Hill
2019-11-08Added better doc for unscrollBruce Hill
2019-11-08Cleanup of bb->selected (renamed from bb->firstselected) to ensure thatBruce Hill
$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.
2019-11-06Added printing to `ask1` commandBruce Hill
2019-11-04Added some messaging to replace the spinner's functionality and deletedBruce Hill
pointless Ctrl-y binding.
2019-11-04Fixed extra spacing with multi-line confirms.Bruce Hill
2019-11-04Removed `spin` because the "eval" part of it was broken and it addsBruce Hill
unnecessary complexity.
2019-11-04Fixed shell scripting issue that had problems with "$((foo) | baz)" dueBruce Hill
to double parentheses.
2019-11-01Fix for jump to mark bindingBruce Hill
2019-11-01Fixed Ctrl-a syntax errorBruce Hill
2019-11-01Added support for NULL-byte delimited picking, cleaned up some of theBruce Hill
bindings making them faster/simpler.
2019-10-27Mostly finalized working version of better signal handling, includingBruce Hill
allowing for suspended/resuming processes (bb +fg) and cleaner linked list handling code.
2019-10-13Added support for shift-home and shift-end, as well as a default bindingBruce Hill
to +spread using them.
2019-10-12verhaul of terminal keypress handling and labeling to support moreBruce Hill
functionality for mouse clicking/dragging/left clicking/middle clicking/double clicking and to have more standardized behavior for key names and better handling of key modifiers (Ctrl, Alt, Meta, Shift). Also moved Ctrl-c and Ctrl-z to custom key bindings with (bb +kill and bb +suspend). Mouse clicking is now also handled in key bindings.
2019-10-11Use `tput cvvis` and `tput civis` for cursor visibility and fix for `>`Bruce Hill
shell mode not showing cursor.
2019-10-03Removed some unnecessary +refreshes, no longer enable cursor by default,Bruce Hill
but instead have ask() etc. make the cursor visible. Also cleaned up some of the failure cases for better feedback.
2019-10-03For +deselect, allow +deselect (no colon) to mean "deselect everything"Bruce Hill
to make it a simple command instead of +deselect: "$@"
2019-10-03Fix for empty files not getting detected properlyBruce Hill
2019-10-03Fix for deletion not working properly with <selection>Bruce Hill
2019-10-02Removed unnecessary /dev/tty redirectBruce Hill
2019-10-02Restored binding for double left clicking a file.Bruce Hill
2019-10-02Fixed 'Enter' key behavior (should work properly for mac again now)Bruce Hill
2019-10-02Added fake binding to allow '#' to bind without being parsed as aBruce Hill
comment
2019-10-02Fix for some messed up behavior for Escape key and for passing varargBruce Hill
commands to bb
2019-09-30Fixed some typos in the bindings.Bruce Hill
2019-09-30Overhaul of how binding commands works. It's now all handled throughBruce Hill
bbstartup.sh, which loads bindings.bb and parses it to +bind:<keys>:<script> commands.