865092c656
Major update: instead of defining all the helper functions as static
...
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-24 01:31:39 -08:00
99a7f917c3
API tweaks and documentation updates.
2020-02-23 20:22:19 -08:00
9636042858
Initial working version using globbing.
2020-02-22 16:05:05 -08:00
e7bef176e3
Added Ctrl-L for '+refresh' to follow vim, etc.
2019-11-24 22:16:32 -08:00
dbd558f6e2
Fix for creating files/dirs with "--"
2019-11-11 12:48:37 -08:00
b7ad0e93a2
Refactored bb +...
to bbcmd ...
within bb bindings. This makes
...
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-11 12:29:40 -08:00
30519ab5d8
Switched bindings to use expr
instead of grep
for opening
2019-11-11 11:44:45 -08:00
76647e596e
Added 'select pattern' and 'unselect pattern' bindings and improved
...
correctness of `find`-based bindings.
2019-11-09 15:43:56 +01:00
7213eaadd6
Fixed up loading/saving selections
2019-11-08 16:29:20 +01:00
e60e5472b4
Added better doc for unscroll
2019-11-08 15:46:00 +01:00
b9e2bc280b
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.
2019-11-08 15:28:01 +01:00
8df4cceca0
Added printing to ask1
command
2019-11-06 17:22:12 +01:00
af82c6316a
Added some messaging to replace the spinner's functionality and deleted
...
pointless Ctrl-y binding.
2019-11-04 17:29:08 +01:00
ad6e61be16
Fixed extra spacing with multi-line confirms.
2019-11-04 16:44:00 +01:00
4343251629
Removed spin
because the "eval" part of it was broken and it adds
...
unnecessary complexity.
2019-11-04 15:28:00 +01:00
1f4122d8d5
Fixed shell scripting issue that had problems with "$((foo) | baz)" due
...
to double parentheses.
2019-11-04 02:34:08 +01:00
66d20ba811
Fix for jump to mark binding
2019-11-01 16:41:54 +01:00
cc1e701587
Fixed Ctrl-a syntax error
2019-11-01 14:54:08 +01:00
308c8c3e6d
Added support for NULL-byte delimited picking, cleaned up some of the
...
bindings making them faster/simpler.
2019-11-01 14:51:30 +01:00
55d3f0e160
Mostly finalized working version of better signal handling, including
...
allowing for suspended/resuming processes (bb +fg) and cleaner linked
list handling code.
2019-10-27 14:58:23 -07:00
999c60c099
Added support for shift-home and shift-end, as well as a default binding
...
to +spread using them.
2019-10-13 18:34:55 -07:00
9e4e0ee314
verhaul of terminal keypress handling and labeling to support more
...
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-12 16:04:19 -07:00
e9c75a7837
Use tput cvvis
and tput civis
for cursor visibility and fix for >
...
shell mode not showing cursor.
2019-10-11 19:07:05 -07:00
7f0fcdeea4
Removed some unnecessary +refreshes, no longer enable cursor by default,
...
but instead have ask() etc. make the cursor visible. Also cleaned up
some of the failure cases for better feedback.
2019-10-03 14:57:34 -07:00
97bae88a1e
For +deselect, allow +deselect (no colon) to mean "deselect everything"
...
to make it a simple command instead of +deselect: "$@"
2019-10-03 14:13:27 -07:00
68a3bbf7e2
Fix for empty files not getting detected properly
2019-10-03 13:49:38 -07:00
3de5a5108f
Fix for deletion not working properly with <selection>
2019-10-03 13:21:21 -07:00
95047f54e7
Removed unnecessary /dev/tty redirect
2019-10-02 13:41:19 -07:00
0d3d80b94d
Restored binding for double left clicking a file.
2019-10-02 13:30:51 -07:00
05e37166fc
Fixed 'Enter' key behavior (should work properly for mac again now)
2019-10-02 13:29:25 -07:00
e531e1766c
Added fake binding to allow '#' to bind without being parsed as a
...
comment
2019-10-02 12:45:44 -07:00
c7e08b884a
Fix for some messed up behavior for Escape key and for passing vararg
...
commands to bb
2019-10-02 01:40:40 -07:00
7f402ee32a
Fixed some typos in the bindings.
2019-09-30 18:02:55 -07:00
7a666d5195
Overhaul of how binding commands works. It's now all handled through
...
bbstartup.sh, which loads bindings.bb and parses it to
+bind:<keys>:<script> commands.
2019-09-30 15:46:24 -07:00