Broot Changelog

What's new in Broot 1.36.1

Mar 11, 2024
  • Fix ANSI code leaking to the input on start on Mac - Fix #854

New in Broot 1.36.0 (Mar 9, 2024)

  • Releases at github should be more cargo binstall friendly - Thanks
  • Improved --help
  • New :stage_all_directories interna
  • :print_tree is one line shorter, so as to let the original shell command visible without scroll
  • Fix and document the "kitty-csi-check" optional feature which can be enabled at compilation

New in Broot 1.35.0 (Mar 1, 2024)

  • Nerdfont icon theme.

New in Broot 1.34.0 (Feb 24, 2024)

  • New --verb-output launch argument, dedicated to the new :clear_output and :write_output internals
  • Verb sequences (based on cmd) can take arguments from the verb invocation
  • Don't fail launch in case of bad verb configuration, more helpful error message in such case
  • Faster kitty image rendering by default
  • {file-git-relative} verb argument
  • Modify nushell function import: use instead of source
  • Fix some resizing and flickering problems on Windows (appeared with 1.33.0)
  • Write installed flag file on --install

New in Broot 1.33.1 (Feb 4, 2024)

  • Fix the version
  • Fix Tagged version 1.33.0 still claims to be 1.32.1-dev #830

New in Broot 1.32.0 (Jan 2, 2024)

  • With "modal" enabled, initial_mode setting lets you choose whether to start in input mode or command mode (default) - Fix #708

New in Broot 1.31.0 (Dec 30, 2023)

  • Keep broot's work dir synchronized with the root of the current panel. Can be disabled in conf with update_work_dir: false
  • Fix :trash internal not working on staged files

New in Broot 1.30.2 (Dec 23, 2023)

  • Fixed:
  • Don't canonicalize paths on windows on new panels.

New in Broot 1.30.1 (Dec 16, 2023)

  • Nushell script: replace the deprecated def-env with def --env - Thanks @melMass

New in Broot 1.30.0 (Dec 4, 2023)

  • :trash internal - I'd like feedback on this one - Fix #799
  • Solve symlinks on :panel_right to display the dest path and the dest filesystem - Fix #804
  • :panel_right on a directory now removes the filter
  • More '~' expansion in verb arguments

New in Broot 1.29.0 (Nov 22, 2023)

  • terminal_title option in configuration - Fix #794
  • :toggle_tree internal and --tree and --no-tree launch flags (experimental, feedback welcome) - Fix #670 - Thanks @eldad
  • {git-name} verb argument

New in Broot 1.28.1 (Nov 13, 2023)

  • Fix a regression in handling of rooted gitignore patterns.

New in Broot 1.28.0 (Nov 13, 2023)

  • Left and right keys bound to verbs can be used when the input isn't empty, if they would have no effect to the input
  • Default_flags now accept long parameters, including --cmd - Fix #790
  • Gitignore: fix relative patterns with several tokens - Fix #782

New in Broot 1.27.0 (Oct 29, 2023)

  • the apply_to verb filter accepts new values: text_file and binary_file. Broot users editing files in their terminal (vi, emacs, etc.) should configure broot to open their text editor on enter: see https://dystroy.org/broot/tricks/#change-standard-file-opening
  • small breaking change: :stage_all_files now stages also symlinks - Fix #606
  • new {git-root} verb argument - Fix 760 - Thanks @9999years
  • fix a freeze on windows when launching a search with -c - Thanks @3tilley
  • fix automatic preview pattern not escaping spaces and colons - Fix #778

New in Broot 1.26.1 (Oct 1, 2023)

  • Improved status line

New in Broot 1.26.0 (Sep 27, 2023)

  • When given a path to a file at launch, broot now selects it in the tree and opens it in preview - Fix #729
  • Allow rebinding of the 'tab' and 'esc' keys with the :next_match and :escape internals - Fix #740
  • Fix fuzzy patterns not case insensitive on some characters - Fix #746

New in Broot 1.25.2 (Sep 20, 2023)

  • Optional BROOT_CONFIG_DIR env var - the site now shows all env variables: https://dystroy.org/broot/launch/#environment-variables
  • --only-folders now longer allows symlinks to non directories - Fix #742

New in Broot 1.25.1 (Sep 3, 2023)

  • Fix shift-char in input extending the selection - Fix #733

New in Broot 1.25.0 (Aug 20, 2023)

  • allow unescaped '::' in pattern position, experimental (might be removed)
  • allow hexa color notation in skins (eg #fb0 or #FFD700)

New in Broot 1.24.1 (Jul 16, 2023)

  • Better --help.

New in Broot 1.24.0 (Jul 16, 2023)

  • installer for the powershell br script on windows
  • new --help, more compact
  • allow extra spaces before the verb
  • updated man page, now distributed in releases as /man/broot.1

New in Broot 1.23.0 (Jun 16, 2023)

  • Prettier, faster SVG rendering
  • Reorganize default conf files, with a "skins" subfolder
  • Some dependencies updated

New in Broot 1.22.1 (May 23, 2023)

  • Allow dir computations in /run/media - Fix #704 - Thanks @jinliu
  • Fix included solarized-dark.hjson skin file

New in Broot 1.22.0 (May 19, 2023)

  • Define disk space availability colors in skin - Fix #705
  • Left elision of path when path/name doesn't fit - Fix #700

New in Broot 1.21.3 (May 2, 2023)

  • Switch_terminal verb parameter - Thanks @stevenxxiu
  • On Windows, when using -c, clear events after delay - Fix #699

New in Broot 1.21.2 (Mar 30, 2023)

  • update dependencies because of some yanked ones

New in Broot 1.21.1 (Mar 24, 2023)

  • resolve ~ in special paths - Fix #685
  • better clipboard support on MacOS - thanks @bryan824

New in Broot 1.21.0 (Mar 18, 2023)

  • Better nushell integration (no need to quote arguments anymore, fix path extension broken by new version of nushell) - Thanks @stevenxxiu
  • Don't show modal-only keys in help page when modal mode isn't enabled

New in Broot 1.20.2 (Feb 19, 2023)

  • Fix debug statement printed in some cases (mostly on Windows) - Fix #672

New in Broot 1.20.1 (Feb 8, 2023)

  • Fix status line not always displaying the hint of the input's verb - Fix #665

New in Broot 1.20.0 (Feb 3, 2023)

  • unless overriden, /proc is now no-enter, which solves freezes when searchin on / in some system - See #639
  • SVG files now rendered as images in the preview panel
  • new version of the nushell function. You should be prompted for an update - Fix #656 - Thanks @FrancescElies and @mediumrarez
  • no-hide special paths - Thanks @avlllo
  • preview can now be opened on directories, showing their first level - Fix #405
  • better determine whether the terminal is white or dark in some (probably rare) cases - See Canop/terminal-light#2

New in Broot 1.19.0 (Jan 3, 2023)

  • Nushell support - Fix #375

New in Broot 1.18.0 (Dec 21, 2022)

  • Hjson configuration file can now omit outside braces (it's "braceless Hjson"), making it much cleaner
  • allow opening the help screen with just the ? key on Windows (as for other systems)
  • fix a crash in some cases of input being cleaned with a selection - Fix #643

New in Broot 1.17.1 (Dec 15, 2022)

  • Add a Windows specific version of :cpp

New in Broot 1.17.0 (Dec 10, 2022)

  • Max file size for content search now configurable (default is now 10MB) - Fix #626
  • File summing now avoids /proc and /run
  • Default configuration sets /media as not entered by default (can be commented out, of course)

New in Broot 1.16.2 (Nov 4, 2022)

  • You can restrict the panels in which verbs apply with the verb configuration panels parameter
  • Fix rm on Windows behaving "recursively" (it was cmd /c del /Q /S {file}) - Fix #627

New in Broot 1.16.1 (Oct 13, 2022)

  • Fixes ctrl-left not usable anymore to remove filtering in preview

New in Broot 1.16.0 (Oct 7, 2022)

  • status messages now displayed on toggling (for example showing hidden files)
  • upgrade terminal-light to 1.0.1 for better recognition of background color on high precision color terminals
  • in default configuration, ctrl-left never opens a panel to the left, as I think this was most often unwanted (one too many hit on cltr-left). It's possible to get the old behavior by binding ctrl-left to :panel_left instead of the new :panel_left_no_open internal.
  • New escaping rules let you skip many , especially when building regexes

New in Broot 1.15.0 (Sep 25, 2022)

  • With show_matching_characters_on_path_searches: false, it's possible to show only file names even when searching paths - Fix #490
  • Sort-by-type-dirs-first and --sort-by-type-dirs-last - Fix #602
  • Modal: in intput mode, uppercase letters don't trigger verbs anymore - Fix #604
  • Fix :line_down_no_cycle which was cycling - Fix #603
  • Selecting lines up or down with the mouse wheel now wraps in both direction (ie going up when your on top brings you to the bottom, and vice-versa)
  • :select internal, which can be used to select a visible file when given a path as argument. Experimental

New in Broot 1.14.3 (Sep 13, 2022)

  • fix crash with token searches - Fix #504

New in Broot 1.14.2 (Jul 11, 2022)

  • Terminal background luma determination now works on all tested unixes, including MacOS - Fix #575
  • Allow :focus based verbs to take a pattern - Fix #389

New in Broot 1.14.1 (Jul 8, 2022)

  • Due to a technical problem, background color based skin selection is disabled on non linux systems.

New in Broot 1.14.0 (Jul 5, 2022)

  • Major Feature: imports:
  • A configuration file can now import one or several other ones.
  • An import can have a condition on the terminal's background color, which makes it possible to import either a dark or a light theme depending on the current terminal settings.
  • You're also encouraged to split your configuration in several files, as is now done for the default configuration.
  • Minor changes:
  • fix --cmd not working (it was accidentaly renamed in --commands, -c was still working) - Fix #570

New in Broot 1.13.3 (Jun 19, 2022)

  • Fix default_flags in conf not working anymore

New in Broot 1.13.2 (Jun 18, 2022)

  • Advice to hit alt-i and|or alt-h when no file is visible
  • Examples on search modes in help screen
  • List of syntactic themes in default conf
  • The --file-export-path launch argument which was deprecated since broot 1.6 has been removed (redirect the output of broot instead)
  • Better built-in verbs for Windows
  • Take the .git/info/exclude file into account for ignoring
  • The released archive doesn't include an Android build

New in Broot 1.13.1 (May 30, 2022)

  • Fix a regression added in 1.13.0: alt-enter was failing to cd to the selected directory

New in Broot 1.13.0 (May 29, 2022)

  • close the staging area when it's emptied with a verb (e.g. on :rm)
  • format files counts with thousands separator - Fix #549
  • try verbs in order allowing some with filters before one without - Fix #552

New in Broot 1.12.0 (May 6, 2022)

  • Internal, adding to the staging area all the files verifying the current pattern. Mapped by default to ctrl-a.

New in Broot 1.11.1 (Apr 4, 2022)

  • Fix broot not being usable while an image is being opened by hitting enter on linux - Fix #530

New in Broot 1.11.0 (Apr 2, 2022)

  • sorting by type, with 3 new internals: :sort_by_type_dirs_first, :sort_by_type_dirs_last, and :sort_by_type. The last one lets you toggle between no sort, sorting by type with directories first, and sorting by type with directories last. - Fix #467

New in Broot 1.10.0 (Mar 29, 2022)

  • verb filtering on file extension - Fix #508
  • don't quit on tiny terminals - Fix #511
  • fix the capture_mouse config item which was described in documentation but not usable (the non documented disable_mouse_capture argument was working and is kept for compatibility)

New in Broot 1.9.4 (Mar 13, 2022)

  • don't query size of remote filesystems anymore. This fixes some 10 seconds hangs in some cases (e.g. filesystem screen) when a remote filesystem is unreachable

New in Broot 1.9.3 (Feb 15, 2022)

  • keep same line visible in preview when resizing
  • :previous_dir and :next_dir internals - Fix #502

New in Broot 1.9.2 (Jan 24, 2022)

  • instead of crashing on syntect panic in code preview, fall back to unstyled text - Fix #485
  • fix files in worktree missing from git statuses - Fix #428

New in Broot 1.9.1 (Jan 7, 2022)

  • Better manage when to draw/erase/keep Kitty Graphics Protocol images for better speed when background tasks run. Also fix background not erased behind kitty images in some cases.

New in Broot 1.9.0 (Jan 6, 2022)

  • Total search (launched with ctrl-s) shows all matches - This is experimental and might be reversed, opinions welcome
  • Kitty graphics protocol used for high definition image rendering on recent enough versions of WezTerm
  • Syntaxic preview of Python files broken by comments home key bound to :input_go_to_start, end key bound to :input_go_to_end

New in Broot 1.8.1 (Dec 29, 2021)

  • fix regex pattern automatically built from content pattern when going from a tree search to a file preview isn't escaped - Fix #472

New in Broot 1.8.0 (Dec 26, 2021)

  • Alt-i bound to toggle_git_ignore.
  • Alt-h bound to toggle_hidden.
  • Text previews switches to hexa when there are not printable chars (eg escape sequences).

New in Broot 1.7.5 (Dec 16, 2021)

  • Make the "clipboard" feature non default again, as it proves to make compilation harder on some platform.
  • You can still try the compilation with cargo install broot --features "clipboard"
  • And the released archive on GitHub or on my server are still compiled with the "clipboard" feature when available.

New in Broot 1.7.4 (Dec 2, 2021)

  • Fix the hex preview sometimes missing 1 or 2 characters in the right ASCII column

New in Broot 1.7.3 (Nov 20, 2021)

  • Fix rendering artefacts on Windows, like a duplicate input line

New in Broot 1.7.2 (Nov 19, 2021)

  • Include more syntaxes for preview of code files (using the list from the bat project) - Fix #464

New in Broot 1.7.1 (Nov 9, 2021)

  • Fix clipboard filled with dummy value on launch on X11

New in Broot 1.7.0 (Oct 30, 2021)

  • "clipboard" feature now default (can still be removed at compilation with --no-default-features)
  • fix clipboard features not working on some recent linux distributions
  • you can now select part of the input with shift arrows or by dragging the mouse cursor
  • new internals: input_selection_cut and input_selection_copy (not bound by default)

New in Broot 1.6.6 (Oct 22, 2021)

  • Make it possible to rebind left and right arrow keys without breaking usage in input - Fix #438

New in Broot 1.6.5 (Oct 20, 2021)

  • improve decision on whether to trim root - Fix #434
  • better make the selected line visible

New in Broot 1.6.4 (Oct 2, 2021)

  • Better scrolling behaviors - Fix #419
  • Fix special-path::Enter for symlinks - Fix #448

New in Broot 1.6.3 (Aug 2, 2021)

  • Hjson config: fix bad parsing on tab before colon.
  • Now checks all args of externals are set, doesn't use the raw {arg}.

New in Broot 1.6.2 (Jul 31, 2021)

  • Broot reads now both the TERM and TERMINAL env variables to try determine whether the terminal is Kitty
  • Using :toggle_device_id, you can display the device id of files (unix only)
  • Fix a few problems with filesystems analysis by upgrading lfs-core to 0.4.2 - Fix #420
  • A few minor rendering improvements

New in Broot 1.6.1 (Jun 23, 2021)

  • Fix compilation on freeBSD
  • Fix :filesystems view not listing disks whose mount point has a space character
  • Fix panic on searching cr/.* if a file starts with an empty line - Fix #406
  • Fix preview of linux pseudo-files
  • Identify "RAM" and "crypted" disks in :filesystems view

New in Broot 1.6.0 (Jun 16, 2021)

  • {root} argument (current tree root) can be used in verb patterns - Fix #395
  • Working_dir verb attribute - Fix #396
  • Client-server mode fixed, no longer feature-gated (but still only available on unix like systems)
  • Broot tries to keep same selection on option changes
  • :tree_up and :tree_down internals, mapped to ctrl-up and ctrl-down - Fix #399
  • Better handling of auto color mode: two separate behaviors: for app running and for export when leaving - Fix #397
  • Remove the deprecated --no-style launch argument (use --color no instead)
  • Deprecate the --out argument (redirecting the output is the recommanded solution)
  • Fix a few minor bugs

New in Broot 1.5.1 (Jun 3, 2021)

  • Fix a few problems with the :del_word_right internal

New in Broot 1.5.0 (Jun 3, 2021)

  • new auto_exec verb property: a non-auto_exec verb isn't executed directly on a keyboard shortcut but fills the input so that it may be edited before execution on enter key
  • add support for backtab key (by default it's bound to :previous_match)
  • :rename built-in verb, best used with its keyboard shortcut F2
  • new standard verb arguments: {file-stem}, {file-extension}, and {file-dot-extension},
  • new :toggle_second_tree internal - Fix #388
  • total size of staging area computed and displayed if sizes displayed elsewhere
  • new file_sum_threads_count conf property to define the number of threads used for file summing (size, count, last modified). The goal is to more easily search what's the best value depending on the cpu, OS and disk type/speed
  • :input_clear internal - Fix #24

New in Broot 1.4.0 (May 11, 2021)

  • the default (non prefixed) search is now "path fuzzy" instead of "name fuzzy". You can still change the default mode and mode bindings in the config. This was done after a survey in chat.
  • new "unordered tokens" search type: t/ab,cd searches for tokens "ab" and "cd" in any order and case insensitive in the subpath, matches for example src/dcd/Bab.rs - Fix #378
  • fix search modes configuration removing all default mappings - Fix #383
  • conf / quit_on_last_cancel to allow quitting with esc when there's nothing to cancel - Fix #380
  • new parent skin entry for the part of the sub-path before the file name (visible when you search on subpath)
  • when a content search has been done, opening a file with a compatible command (like the standard :edit) opens on the first line with a match

New in Broot 1.3.1 (May 1, 2021)

  • Fix :previous_match not jumping over indirect matches - Fix #377
  • Fix typing a prefixed pattern then emptying it while keeping the prefix doesn't remove filtering - Fix #379
  • Fix shifted matching chars highlighting with regex patterns when showing icons - Fix #376

New in Broot 1.3.0 (Apr 28, 2021)

  • Minor changes:
  • Modal mode: revert to command mode on command execution - Fix #372
  • Modal mode: when in command mode, '/' only enters input mode and is never appended to the input
  • Better handle failing external programs when not leaving broot
  • Major feature: staging area
  • You may add files to the staging area then apply a command on all of them. This new feature is described here.
  • Several verbs have been added. Type "stag" in help to see them and their keyboard shortcuts.

New in Broot 1.2.9 (Mar 19, 2021)

  • fix crash on :input_del_word_left - Fix #361
  • remove diacritics and normalize unicode from input on fuzzy search (an unnormalized string with unwanted diacritics most often happen when you paste a string in the input)

New in Broot 1.2.8 (Mar 11, 2021)

  • It's possible to define several key shortcuts for a verb, using the "keys" property
  • Improvements of fuzzy matching

New in Broot 1.2.7 (Feb 28, 2021)

  • Don't ask again for installation if no sourcing file has been found

New in Broot 1.2.6 (Feb 27, 2021)

  • clipboard features (copy and paste verbs) now work on Android/Termux (needs the Termux API to be installed)
  • fix a compilation problem on non gnu windows - Thanks @Stargateur
  • obey '--color no' even in standard application mode. In that case, automatically enable selection marks or you wouldn't know what line is selected

New in Broot 1.2.5 (Feb 26, 2021)

  • Fix style characters being written in --no-style mode - Fix #346
  • Replace --no-style with --color taking yes, no or auto, with detection of output being piped in auto mode (default). --no-style is still usable but it's not documented anymore - Fix #347
  • Fix wrong version number written in log file - Fix #349
  • By default the number of panels is now limited to 2 (can be changed in conf with max_panels_count). The goal is to improve the global ergonomics for the most common (universal?) use case - Fix #345

New in Broot 1.2.4 (Feb 15, 2021)

  • line_down_no_cycle and :line_up_nocycle. They may be mapped instead of :line_up and :line_down when you don't want to cycle (ie arrive on top when you go down past the end of the tree/list) - Fix #344
  • fix selected line number rendering in text preview

New in Broot 1.2.3 (Feb 7, 2021)

  • Special paths in "no-enter" or "hide" aren't counted when summing sizes or dates. It's a compromise: it makes all sums a little slower, especially if you have a lot of special paths or comple ones, but it allows skipping over the very slow disks and thus makes some cases much faster - Fi #331
  • Br fish shell function uses shell completion of broot
  • Tree height in :pt now applies even when there are more root items (thus truncating the tree) - Fi #341
  • Fi the F5 and F6 shortcuts (copy and move between panels) in the default configuration

New in Broot 1.2.2 (Feb 6, 2021)

  • Special paths in "no-enter" or "hide" aren't counted when summing sizes or dates. It's a compromise: it makes all sums a little slower, especially if you have a lot of special paths or complex ones, but it allows skipping over the very slow disks and thus makes some cases much faster - Fix #331
  • Br fish shell function uses shell completion of broot
  • Tree height in :pt now applies even when there are more root items (thus truncating the tree) - Fix #341
  • Fix the F5 and F6 shortcuts (copy and move between panels) in the default configuration

New in Broot 1.2.1 (Jan 28, 2021)

  • allow dashes instead of underscores in conf property names. This fixes a regression as "special-paths", "ext-colors" and "search-modes" were defined with a dash up to version 1.0.7. Now both spellings are OK - Fix #330
  • fix some problems with paths containing spaces (regression since 1.1.11)- Fix #329

New in Broot 1.2.0 (Jan 15, 2021)

  • experimental "modal mode" (or "vim mode") in broot.
  • fix mouse staying captured during external app execution - Fix #325

New in Broot 1.1.11 (Jan 8, 2021)

  • fix handling of rules starting with '/' in the global gitignore - Fix #321
  • alt-c now mapped to the new :copy_line verb which, when in tree, puts the selected path in the clipboard and, when in text preview, puts the selected text line in the clipboard - Fix #322
  • it's possible to define verb execution patterns as arrays instead of simple strings, to avoid having to escape quotes - Fix #319

New in Broot 1.1.0 (Dec 24, 2020)

  • Broot now accepts both TOML and Hjson files for configuration. Default is Hjson. I wrote about why this change at https://dystroy.org/blog/hjson-in-broot/

New in Broot 1.0.9 (Dec 20, 2020)

  • fix handling on quotes in configured verbs - Fix #316

New in Broot 1.0.8 (Dec 1, 2020)

  • When sizes are displayed (eg on br -s), show size of root line and root filesystem info
  • Modified size cache management makes some size computations faster
  • Sizes (and dates and counts) are progressively displayed

New in Broot 1.0.7 (Nov 27, 2020)

  • Previous_same_depth and :next_same_depth internals
  • In kitty terminal, image preview is high definition

New in Broot 1.0.6 (Nov 23, 2020)

  • optional icons, thanks to @asdf8dfafjk (@fiAtcBr on Miaou) - See https://dystroy.org/broot/icons
  • dev.log renamed into broot.log
  • line_up and :line_down accept an optional count as argument - Fix #301

New in Broot 1.0.5 (Nov 5, 2020)

  • Incase of IO error when previewing a file, display the error instead of quitting
  • Fix regression related to display of texts with characters taking several columns
  • Preview now supports opening system files with size 0 (eg /proc "files")

New in Broot 1.0.4 (Oct 22, 2020)

  • don't use absolute paths for built-in verbs
  • fix freeze on circular symlink chains
  • :filesystems (alias :fs) display all mounted filesystems in a filtrable view. You can enter to browse at the mount point (unix only for now)
  • :toggle_root_fs (alias :rfs) toogles showing information on the filesystem of the current directory
  • filesystem information (mainly size and usage) related to the current filesystem displayed in whale-spotting mode

New in Broot 1.0.3 (Oct 7, 2020)

  • Change the syntax of cols_order in conf
  • Fix left key moving the cursor to start of input (instead of just one char left)

New in Broot 1.0.2 (Oct 4, 2020)

  • Cr/ patterns search on file content with regular expressions
  • Search modes and their prefixes listed in help

New in Broot 1.0.1 (Sep 30, 2020)

  • don't apply .gitignore files (including the global one) when not in a git repository - Fix #274
  • it's now possible to define verbs executing sequences of commands - Fix #277
  • fix opening of link of link - Fix #280
  • broot is now compatible with Android, you can use it on Termux for example
  • help page lists all optional features enabled at compilation
  • list of verbs in help page is searchable
  • the "clipboard" optional feature adds:
  • the :copy_path verb which copies the selected path to the clipboard (mapped to alt-c)
  • the :input_paste verb which inserts the clipboard content in the input (mapped to ctrl-v)

New in Broot 1.0.0 (Sep 1, 2020)

  • Nothing new... which is consistent with broot being stable enough to be called 1.0

New in Broot 0.20.3 (Aug 23, 2020)

  • fix a few problems with tabulation rendering
  • fix a few cases of files being called "huge" while they're only very big

New in Broot 0.20.2 (Aug 19, 2020)

  • fix esc key not removing the filter in text preview

New in Broot 0.20.1 (Aug 18, 2020)

  • Completion of the "client-server" feature (see client-server.md)
  • The tree tries to keep the selection when you remove a filter using the esc key
  • :focus now has a shortcut for when a file is selected too: ctrl-f
  • Show_selection_mark preference in config (mostly for cases the background isn't clear enough)
  • Breaking change: The working directory of external processes launched by broot isn't set anymore by default.
  • If you want it to be changed, add set_working_dir = true to the verb definition.

New in Broot 0.20.0 (Aug 16, 2020)

  • It's now possible to launch a terminal as sub process from broot (and be back to broot on exit)
  • The selected directory is now the working directory for sub-process launched from broot
  • Images are previewed as such: preview_binary, :preview_text, and :preview_image verbs allow the choice of previewing mode
  • Fix a possible crash in previewed files on displaying fuzzy pattern matches

New in Broot 0.19.4 (Jul 31, 2020)

  • Don't install the br shell function when --outcmd is set or $BR_INSTALL is "no" - Fix #265
  • More relevant status hints - Fix #261

New in Broot 0.19.3 (Jul 27, 2020)

  • refined search in preview interaction

New in Broot 0.19.2 (Jul 26, 2020)

  • "client-server" feature (see client-server.md)
  • Preview's pattern is kept when changing file
  • Selected line in preview, interesting when removing the pattern (to see what's around a match)
  • Faster availability of huge files in preview
  • Search in preview now interrupted by key events (just like the trees)
  • A content search in a tree is propagated as a regex in a preview on :panel_right (ctrl-right)
  • Syntax theme choice in conf.toml
  • {line} in a verb execution pattern refers to the line number

New in Broot 0.19.1 (Jul 17, 2020)

  • Force trimming root when searching (trimming root when not searching is no longer the default)

New in Broot 0.19.0 (Jul 16, 2020)

  • Major feature: the preview panel.
  • Hit ctrl-right when a file is selected to get the preview

New in Broot 0.18.6 (Jul 10, 2020)

  • [ext-colors] section in config
  • A few minor fixes and changes

New in Broot 0.18.5 (Jul 5, 2020)

  • Various minor fixes

New in Broot 0.18.4 (Jul 2, 2020)

  • --git-status launch option
  • fix rendering on windows

New in Broot 0.18.3 (Jun 30, 2020)

  • Improve rendering speed on slow terminals

New in Broot 0.18.2 (Jun 29, 2020)

  • Remove flickering (happened on the flags and on all trees except the leftmost one when in multi-panel)

New in Broot 0.18.1 (Jun 28, 2020)

  • Column order is now configurable with the cols_order attribute of the configuration - Fix #127

New in Broot 0.18.0 (Jun 26, 2020)

  • Major change: Recursive last modified date computation:
  • The date of directories is now the modification date of the last modified inner file, whatever its depth. This is computed in the background and doesn't slow your navigation.
  • Major change: Sort mode:
  • Size can now be displayed out of sort mode, which concerns either size or dates.
  • There are new launch arguments:
  • --sort-by-count : sort by number of files in directories
  • --sort-by-date : sort by dates, taking content into account (make it easy to find deep recent files)
  • --sort-by-size : sort by size
  • --whale-spotting or -w : "whale spotting" mode (sort by size and show all files)
  • The -s launch argument now works similarly to -d or -p : it doesn't activate a sort mode but activates showing the sizes. -s has been replaced with -w.
  • Similarly new verbs have been defined:
  • :toggle_counts, with shortcut counts shows the number of files in directories
  • :toggle_sizes, with shortcut sizes shows the sizes of files and directories
  • :sort_by_count has for shortcut sc
  • :sort_by_date has for shortcut sd
  • :sort_by_size has ss as shortcut
  • :no_sort removes the current sort mode, if any

New in Broot 0.17.0 (Jun 23, 2020)

  • Major feature: keep broot open behind terminal editors
  • If you now open vi or emacs from broot with leave_broot = false you should
  • be back in broot after you quit the editor - Fix #34 - Fix #144 - Fix #158
  • Minor changes:
  • it's possible to define input edition shortcuts - Fix #235

New in Broot 0.16.0 (Jun 20, 2020)

  • It's now possible to use logical operators on patterns.

New in Broot 0.15.1 (Jun 13, 2020)

  • Fix some problems with relative paths in cp and mv

New in Broot 0.15.0 (Jun 12, 2020)

  • Major feature new input syntax - Breaking Change
  • New search modes (see https//dystroy.org/broot/input/#the-filtering-pattern)
  • fuzzy or regex on sub-paths (the path starting from the displayed root)
  • search in file content
  • it's possible to configure how search modes are selected in config
  • search pattern characters can be escaped with a ''
  • Minor changes
  • tab goes to next direct match when there's no verb in input - Fix #234
  • open_stay_filter to be used if you want to keep the pattern when you navigate - Fix #240
  • mouse capture can be disabled with capture_mouse = false - Fix #238
  • several small fixes

New in Broot 0.14.1 (May 29, 2020)

  • Fix uppercase letters ignored in input field

New in Broot 0.14.0 (May 29, 2020)

  • Major feature: :focus verb:
  • This verb can be called, and parameterized, with a path as argument, which makes it possible to have a shortcut to a specific location.
  • As a result, the specific :focus_user_home and :focus_root verbs have been removed (:focus ~ works on all OS).
  • Major feature: panels!
  • There are three major ways to open a new panel:
  • by using ctrl-left or ctrl-right, which can also be used to navigate between panels
  • when a verb is edited, by using ctrl-p, which opens a panel which on closure will fill the argument
  • by using any verb with a bang. For example :focus! ~ or :!help
  • When you have two panels, you may use some new verbs like :copy_to_panel which copies the selection to the selected location in the other panel.
  • Many new verbs and functions are related to panels but broot can still be used exactly as before without using panels.
  • Major feature: autocompletion:
  • Using the Tab key you can complete verbs or paths
  • Major feature: special paths
  • Some paths can be handled in a specific way. Fix #205 and #208
  • You can for example decide that some slow disk shouldn't be entered automatically
  • Minor changes:
  • date/time format configurable - Fix #229
  • esc doesn't quit broot anymore (by popular demand)

New in Broot 0.13.6 (Apr 8, 2020)

  • ignore diacritics in searches - Fix

New in Broot 0.13.5 (Mar 28, 2020)

  • Right key open directory, left key gets back (when input is empty) - Fix #179
  • Replace ~ in path arguments with user home dir - Fix #211
  • Use $XDG_CONFIG_HOME/git/ignore when the normal core.excludesFile git setting is missing - Fix #212
  • Add a man page to archive - Fix #165

New in Broot 0.13.4 (Mar 13, 2020)

  • Support for an arg made of an optional group

New in Broot 0.13.2 (Feb 16, 2020)

  • fix -i and -I launch arguments being ignored (fix #202)

New in Broot 0.13.1 (Feb 9, 2020)

  • Fix background not always removed when skin requires no background (Fix #194)

New in Broot 0.13.0 (Feb 6, 2020)

  • Major change:
  • Git related features
  • Show_git_file_info compute git repo statistics and file statuses. Statistics are computed in background and cached.
  • Git_diff verb launching git diff {file}
  • Git_status filter files to show only the ones which are relevant for git status (warning: slow on big repositories)
  • Major change:
  • Rewamped launch flags
  • Several new launch flags have been added, mostly doing the opposite of previous ones (eg -S negates -s) and a new entry in the conf.toml lets you define default flags (which can be overriden by the ones you pass on the command line).
  • Do br --help to view the complete list of flags.
  • Minor changes:
  • On refresh or after command, if the previously selected path can't be selected (missing file, probably) then the previous index will be kept if possible
  • Alt-enter can be rebinded (users should not do that whithout binding :cd, though)

New in Broot 0.12.2 (Jan 29, 2020)

  • fix Ctrl-J being interpreted as Enter (fix #177)

New in Broot 0.12.1 (Jan 25, 2020)

  • fix panic on some inputs starting with a / (Fix #175)
  • TAB key now jumps to direct matches only
  • conf arg to launch broot with specific config file(s) (fix #141)

New in Broot 0.12.0 (Jan 19, 2020)

  • Breaking change: commands given with --cmd must be separated (default separator is ;)
  • Fix some cases of terminal let in a bad state on errors (thanks Nathan West)
  • Bring some changes to the fish shell function and its installation (PR #128)
  • Consider path $ZDOTDIR/.zshrc for zsh shell function sourcing (fix #90)
  • Don't use .gitignore files of parent repositories
  • Change default value of the toggle_trim_root to false (fix #106 but might be reverted)
  • :print_relative_path verb (fix #169, thanks Roshan George)
  • :chmod verb

New in Broot 0.11.9 (Jan 16, 2020)

  • Fix a case of bad selection after search followed by interrupted search (#147)
  • --set-install-state can be used in tests or manual installs to set the installation state
  • Raspberry now a default target available in the installation page
  • Fix a regression: br -s not finishing computing size until receiving an event
  • Display the real size of sparse files (fix #102)

New in Broot 0.11.8 (Jan 12, 2020)

  • set different skins for the r, w and x parts of the mode (permission)
  • compatibility with freeBSD
  • generate shell completion scripts on build (deep into the target directory)
  • --print-shell-function launch argument to print the shell functions to stdout

New in Broot 0.11.7 (Jan 11, 2020)

  • This version fixes the dangerous bug #104. People using a previous version must upgrade

New in Broot 0.11.6 (Jan 11, 2020)

  • Backspace was previously bound to :back if not consumed by input. This is removed
  • Fix unsignificative event interpreted as previous event repetition
  • Fix wrong background applied on sizes in tree display
  • Allow env vars used in verb execution to contain parameters (fix #114)
  • Allow the use of arrow keys as triggers for verbs (fix #121)
  • Fix scroll adjustement when using the arrow keys (when there's a scrollbar) (fix #112)