summaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
blob: f836d3e959080a86da5485ef4d572ad92fdd4180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
### next
- with `show_matching_characters_on_path_searches: false`, it's possible to show only file names even when searching paths - Fix #490

### v1.14.3 - 2022-09-12
<a name="v1.14.3"></a>
- fix crash with token searches - Fix #504 - Thanks @FedericoStra

### v1.14.2 - 2022-07-11
<a name="v1.14.2"></a>
- Terminal background luma determination now works on all tested unixes, including MacOS - Fix #575
- Allow :focus based verbs to take a pattern - Fix #389

### v1.14.1 - 2022-07-06
<a name="v1.14.1"></a>
Due to a technical problem, background color based skin selection is disabled on non linux systems.

### v1.14.0 - 2022-07-05
<a name="v1.14.0"></a>
#### 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 accidentally renamed in `--commands`, `-c` was still working) - Fix #570

### v1.13.3 - 2022-06-19
<a name="v1.13.2"></a>
- fix default_flags in conf not working anymore - Fix #566

### v1.13.2 - 2022-06-18
<a name="v1.13.2"></a>
- advice to hit alt-i and|or alt-h when no file is visible - Fix #556
- examples on search modes in help screen - Fix #559
- 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 - Thanks @Spacelord-XaN
- take the .git/info/exclude file into account for ignoring - Thanks @refi64

Note: The released archive doesn't include an Android build - see https://github.com/Canop/broot/issues/565

### v1.13.1 - 2022-05-30
<a name="v1.13.1"></a>
- fix alt-enter failing to cd to directory

### v1.13.0 - 2022-05-29
<a name="v1.13.0"></a>
- 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

### v1.12.0 - 2022-05-05
<a name="v1.12.0"></a>
- `:stage_all_files` internal, adding to the staging area all the files verifying the current pattern. Mapped by default to ctrl-a

### v1.11.1 - 2022-04-04
<a name="v1.11.1"></a>
- fix broot not being usable while an image is being opened by hitting enter on linux - Fix #530

### v1.11.0 - 2022-04-02
<a name="v1.11.0"></a>
- 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

### v1.10.0 - 2022-03-29
<a name="v1.10.0"></a>
- 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)

### v1.9.4 - 2022-03-07
<a name="v1.9.4"></a>
- 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

### v1.9.3 - 2022-02-15
<a name="v1.9.3"></a>
- keep same line visible in preview when resizing
- `:previous_dir` and `:next_dir` internals - Fix #502

### v1.9.2 - 2022-01-23
<a name="v1.9.2"></a>
- 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

### v1.9.1 - 2022-01-07
<a name="v1.9.1"></a>
- fix a few problems of speed, flickering and uncleaned background with high resolution image preview

### v1.9.0 - 2022-01-06
<a name="v1.9.0"></a>
- 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 - Fix #473
- fix syntaxic preview of Python files broken by comments - Fix #477
- home key bound to :input_go_to_start, end key bound to :input_go_to_end - Fix #475

### v1.8.1 - 2021-12-29
<a name="v1.8.1"></a>
- fix regex pattern automatically built from content pattern when going from a tree search to a file preview isn't escaped - Fix #472

<a name="v1.8.0"></a>
### v1.8.0 - 2021-12-26
- 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)

<a name="v1.7.5"></a>
### v1.7.5 - 2021-12-16
- Make the "clipboard" feature non default again, as it proves to make compilation harder on some platform. I still distribute executables with this feature and you can still try the compilation with `cargo install broot --features "clipboard"`

<a name="v1.7.4"></a>
### v1.7.4 - 2021-12-01
- Fix 1 or 2 characters of the right ASCII column in hex view sometimes lost

<a name="v1.7.3"></a>
### v1.7.3 - 2021-11-19
- Fix rendering artefacts on Windows, like a duplicate input line

<a name="v1.7.2"></a>
### v1.7.2 - 2021-11-18
- include more syntaxes for preview of code files (using the list from the bat project) - Fix #464

<a name="v1.7.1"></a>
### v1.7.1 - 2021-11-07
- fix clipboard filled with dummy value on launch on X11

<a name="v1.7.0"></a>
### v1.7.0 - 2021-10-30
- "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)

<a name="v1.6.6"></a>
### v1.6.6 - 2021-10-22
- make it possible to rebind left and right arrow keys without breaking usage in input - Fix #438

<a name="v1.6.5"></a>
### v1.6.5 - 2021-10-01
- improve decision on whether to trim root - Fix #434
- better make the tree's selected line visible

<a name="v1.6.4"></a>
### v1.6.4 - 2021-10-01
- better scrolling behaviors - Fix #419
- fix special-path::Enter for symlinks - Fix #448

<a name="v1.6.3"></a>
### v1.6.3 - 2021-08-02
- hjson: fix bad parsing on tab before colon
- now checks all args of externals are set, doesn't use the raw {arg}

<a name="v1.6.2"></a>
### v1.6.2 - 2021-07-31
- 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

<a name="v1.6.1"></a>
### v1.6.1 - 2021-06-23
- 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

<a name="v1.6.0"></a>
### v1.6.0 - 2021-06-16
- `{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 recommended solution)
- fix a few minor bugs

<a name="v1.5.1"></a>
### v1.5.1 - 2021-06-03
- fixed a few problems with the `:del_word_right` internal

<a name="v1.5.0"></a>
### v1.5.0 - 2021-06-02
- 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

<a name="v1.4.0"></a>
### v1.4.0 - 2021-05-11
- 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

<a name="v1.3.1"></a>
### v1.3.1 - 2021-04-30
- 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

<a name="v1.3.0"></a>
### v1.3.0 - 2021-04-28
#### 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](https://dystroy.org/broot/staging-area).
Several verbs have been added. Type "stag" in help to see them and their keyboard shortcuts.

<a name="v1.2.10"></a>
### v1.2.10 - 2021-04-03
- fix shift based key shortcuts - Fix #363
- check there's another panel before executing verbs with other-panel argument - Fix #366

<a name="v1.2.9"></a>
### v1.2.9 - 2021-03-18
- fix panic 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)

<a name="v1.2.8"></a>
### v1.2.8 - 2021-03-11
- it's possible to define several key shortcuts for a verb, using the "keys" property
- improvements of fuzzy matching

<a name="v1.2.7"></a>
### v1.2.7 - 2021-02-28
- don't ask again for installation if no sourcing file has been found

<a name="v1.2.6"></a>
### v1.2.6 - 2021-02-27
- 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

<a name="v1.2.5"></a>
### v1.2.5 - 2021-02-25
- 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

<a name="v1.2.4"></a>
### v1.2.4 - 2021-02-14
- :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

<a name="v1.2.3"></a>
### v1.2.3 - 2021-02-06
- 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

<a name="v1.2.1"></a>
### v1.2.1 - 2021-01-27
- 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

<a name="v1.2.0"></a>
### v1.2.0 - 2021-01-14
- experimental "modal mode" (or "vim mode") in broot. See https://dystroy.org/broot/vim_mode/
- fix mouse staying captured during external app execution - Fix #325

<a name="v1.1.11"></a>
### v1.1.11 - 2021-01-07
- 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

<a name="v1.1.10"></a>
### v1.1.10 - 2020-12-24
broot now accepts both TOML and Hjson files for configuration. Default is Hjson. I explain the change [here](https://dystroy.org/blog/hjson-in-broot/)

<a name="v1.0.9"></a>
### v1.0