Skip to content

Releases: Canop/broot

broot v0.10.0

03 Nov 12:33
Compare
Choose a tag to compare
  • moved to the crossterm 0.13 and termimad 0.7.1
  • broot runs on stderr,
  • broot can run in a subshell
    Those changes allow tricks like my_unix_command "$(broot)" when you do :pp to print the path on stdout from broot

broot v0.9.6

20 Sep 08:58
Compare
Choose a tag to compare
  • smarter cut of the status line when it doesn't fit the console's width
  • fix mouse click on the status line crashing broot
  • prevent the best match from being hidden inside "unlisted" matches

broot v0.9.5

15 Sep 19:43
Compare
Choose a tag to compare
  • keyboard keys & shortcuts can be defined for more actions, all built-in verbs documented in website
  • paths built from verb arguments are now normalized

broot v0.9.4

13 Sep 19:12
Compare
Choose a tag to compare

New internal verbs like :focus_root, :focus_user_home, :refresh, :select_first
You can define triggering keys for verbs.

For example you can add those mappings:

[[verbs]]
invocation = "root"
key = "F9"
execution = ":focus_root"

[[verbs]]
invocation = "home"
key = "ctrl-H"
execution = ":focus_user_home"

[[verbs]]
invocation = "top"
key = "F6"
execution = ":select_first"

[[verbs]]
invocation = "bottom"
key = "F7"
execution = ":select_last"

Then, when doing Ctrl-H, you would go to you user home (~ when on linux) and F7 would select the last line of the tree.

A few more keys are defined as default, like F1 for :help and F5 for :refresh.

broot v0.9.3

02 Aug 13:23
Compare
Choose a tag to compare

whalespotting mode

This mode is activated by the --sizes option and makes a few changes to the broot logic in order to ease size survey:

  • sizes computed and displayed
  • only one level of tree
  • size based ordering
  • hidden files and gitignored ones are shown (by default)

broot v0.9.1

29 Jul 18:15
Compare
Choose a tag to compare

Major change

  • A new syntax allows specifying verbs which can work on relative paths or absolute paths alike.
    For example the old definition of cp was

    invocation = "cp {newpath}"
    execution = "/bin/cp -r {file} {parent}{newpath}"

and it's now

invocation = "cp {newpath}"
execution = "/bin/cp -r {file} {newpath:path-from-parent}"

The :path-from-parent formatting means the token will be interpreted as a path, and if it's
not starting with a / will be prefixed by the parent path.
It's possible to also use {subpath:path-from-directory} where directory is parent only if
the selected file isn't a directory itself.

Minor changes

  • shift-tab selects the previous match
  • mouse wheel support (selection in tree, scroll in help)
  • the input field handles left/right arrow keys, home/end, click, and delete

broot v0.9.0

19 Jul 12:31
Compare
Choose a tag to compare

Major change

The logic behind opening has changed to allow easier opening of files in non terminal applications without closing broot.

Old behavior:

  • in case of enter or double-click
    • on a directory: open that directory, staying in broot
    • on a file: open the file, quitting broot
  • in case of alt-enter
    • on a directory: cd to that directory, quitting broot
    • on a file: cd to that file's parent directory, quitting broot

New behavior:

  • in case of enter or double-click
    • on a directory: open that directory, staying in broot
    • on a file: open that file in default editor, not closing broot
  • in case of alt-enter
    • on a directory: cd to that directory, quitting broot
    • on a file: open that file in default editor, quitting broot

Minor change

  • Hitting ? more directly opens the help screen, even when executing a verb

broot v0.8.6

03 Jul 19:34
Compare
Choose a tag to compare
  • Hitting enter when first line is selected, or clicking it, goes up to the parent directory
  • detect and color executable files on windows
  • new toggle to display dates of files (last modification)
  • a few small improvements

broot v0.8.5

20 Jun 05:08
Compare
Choose a tag to compare

minor cosmetic changes

broot v0.8.4

17 Jun 20:20
Compare
Choose a tag to compare
  • apply verbs on link files, not on their targets (rm some_link was dangerous)
  • use a more efficient version of termimad