Commit Graph

88 Commits

Author SHA1 Message Date
Lauri Niskanen
ab88588c0e
feat: support displaying files with inaccessible metadata (#1275) 2024-07-14 14:42:42 +08:00
zooeywm
2cf722ed48
feat: add random option to the sort command (#1291)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-07-14 00:50:40 +08:00
三咲雅 · Misaki Masa
f5598ebb8a
feat: make UI extensions easier (#1257) 2024-07-13 14:22:03 +08:00
sxyazi
987b1d5c49
feat: simplify keybindings (#1241) 2024-07-01 23:58:03 +08:00
三咲雅 · Misaki Masa
626053da25
perf!: reimplement and significantly speed up archive previewing (#1220) 2024-06-27 00:47:56 +08:00
sxyazi
f35712a768
refactor: prefer FromStr over Default for configuration parsing with side effects 2024-06-18 16:26:29 +08:00
三咲雅 · Misaki Masa
1166f86523
feat: support completely disabling mouse with mouse_events=[]; add new cursor_blink to control cursor style of input components (#1139) 2024-06-08 18:29:50 +08:00
Tianyang Zhou
162218c345
feat: support mouse event (#1038) 2024-06-03 14:31:55 +08:00
三咲雅 · Misaki Masa
95e960a64a
refactor!: v0.3 API changes (#1108) 2024-05-31 01:09:30 +08:00
sxyazi
46cd42f923
refactor: rename the domain term prefetcher to fetcher 2024-05-28 00:28:17 +08:00
sxyazi
b81b707a3e
fix: match_mime() should return true if pattern is "*" 2024-05-27 21:36:15 +08:00
Mika Vilpas
4c46862506
feat: support case insensitive special keys in keymappings (#1082)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-05-27 19:21:16 +08:00
George Nelson
1ab3df6850
feat!: transliteration option for natural sorting (#1053)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-05-27 07:28:10 +08:00
三咲雅 · Misaki Masa
061faea1c5
feat!: redesign icons (#1086) 2024-05-25 22:56:08 +08:00
sxyazi
58e5d2280a
fix: glob pattern for zip files 2024-05-22 17:59:46 +08:00
三咲雅 · Misaki Masa
d9ecffd19e
feat: support Super/Command/Windows key notation D- (#1069) 2024-05-22 13:11:23 +08:00
三咲雅 · Misaki Masa
bf1c325d00
feat: prefetcher (#1061) 2024-05-20 17:25:55 +08:00
三咲雅 · Misaki Masa
c2affae3a9
feat: add a next property to the preloader rules to allow running multiple preloaders (#1058) 2024-05-19 19:04:04 +08:00
三咲雅 · Misaki Masa
2683b1d6a2
refactor: eliminate exec (#1045) 2024-05-16 18:20:47 +08:00
sxyazi
d01e18067c
fix: move the DDS socket file out of the cache directory to avoid being affected by yazi --clear-cache 2024-04-27 16:47:50 +08:00
三咲雅 · Misaki Masa
681612f976
fix: correct the glob pattern for the icons to fit the new matching algorithm (#959) 2024-04-26 22:47:29 +08:00
三咲雅 · Misaki Masa
bf91f35d3e
fix: always create XDG cache directory even if user has set a custom one (#956) 2024-04-26 19:51:12 +08:00
三咲雅 · Misaki Masa
55da9e342c
perf: cache each file's icon to avoid redundant calculations at rendering (#931) 2024-04-20 15:43:08 +08:00
三咲雅 · Misaki Masa
09bc9aa371
feat: expand the types supported by the event system (#923) 2024-04-19 13:45:01 +08:00
三咲雅 · Misaki Masa
a70374fced
perf: switch to globset to reduce CPU time spent on matching icons (#908) 2024-04-14 11:11:31 +08:00
sxyazi
7a99ea4409
fix: wrong state pointed to and ignore plugin/flavor directory creation errors 2024-04-01 00:11:07 +08:00
Solomon Jacobs
fd455a1ae4
feat: readable toml parsing error (#854)
Previously, the yazi displayed the following error.
```
Backtrace omitted. Run with RUST_BACKTRACE=1 to display it.
Run with RUST_BACKTRACE=full to include source snippets.

The application panicked (crashed).
  called `Result::unwrap()` on an `Err` value: Error { inner: Error { inner: TomlError { message: "invalid key", raw: Some("{ mime = \"application/octet-stream\",\nuse = [ \"extract_zlib\", \"reveal\" ] }\n"), keys: [], span: Some(0..1) } } }
in yazi-config/src/preset.rs, line 42
thread: main
```

It now displays the following message instead:

```
Error: Loading "/home/solo/.config/yazi/yazi.toml"

Caused by:
    TOML parse error at line 1, column 1
      |
    1 | { mime = "application/octet-stream",
      | ^
    invalid key
```

For more information see issue GH-847.

---------

Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-03-31 21:44:17 +08:00
三咲雅 · Misaki Masa
903f3da7e5
feat: DDS (Data Distribution Service) (#826) 2024-03-29 23:30:30 +08:00
三咲雅 · Misaki Masa
411ba2fe85
refactor: switch to stderr (#819) 2024-03-15 20:31:39 +08:00
三咲雅 · Misaki Masa
9396d8760c
feat: ya.hide() plugin API (#792) 2024-03-09 03:07:20 +08:00
三咲雅 · Misaki Masa
d96af54574
fix: track the latest file changes for the selected, yanked state when available (#791) 2024-03-08 15:37:53 +08:00
三咲雅 · Misaki Masa
33782f1224
feat: cx.yanked plugin API (#788) 2024-03-07 17:26:18 +08:00
三咲雅 · Misaki Masa
5169bb90f2
refactor: add new run property (#773) 2024-03-04 17:54:40 +08:00
三咲雅 · Misaki Masa
bd572706cd
feat: ya.input() plugin API (#762) 2024-03-02 20:33:34 +08:00
Filipe Paniguel
7f062359e8
feat: add prepend_rules and append_rules for [open] in yazi.toml (#754) 2024-03-01 10:38:02 +08:00
little camel
73b7e5acf7
feat: add a new [notify] section to the theme.toml to configure the notify component's style (#749) 2024-02-29 12:02:27 +08:00
sxyazi
4d8e276a6f
feat: flavor (#753) 2024-02-29 11:54:41 +08:00
三咲雅 · Misaki Masa
82071bd06b
refactor: prefer Display over ToString (#734) 2024-02-27 09:17:09 +08:00
sxyazi
4e7e135cb5
feat: support is rule for [icon] (#720) 2024-02-26 10:25:35 +08:00
三咲雅 · Misaki Masa
46516dab74
refactor: new yazi-boot crate (#728) 2024-02-26 09:14:04 +08:00
sxyazi
2e9b6b7b7b
fix: any_file and any_dir should check is_folder 2024-02-20 17:45:41 +08:00
三咲雅 · Misaki Masa
3f27532c57
feat: cross-directory selection (#693) 2024-02-18 23:28:08 +08:00
三咲雅 · Misaki Masa
1ec9943af2
refactor: using definite patterns to simplify keybindings (#690) 2024-02-17 19:03:26 +08:00
Rolv Apneseth
b82587e2c9
feat: add counter component to the header for displaying currently yanked/selected items (#646) 2024-02-15 22:54:57 +08:00
三咲雅 · Misaki Masa
52d91c0e42
feat: add new file marked state (#682) 2024-02-15 20:24:20 +08:00
Diogo Duarte
b55c5dc9a1
feat: add new scrolloff option to [manager] (#679) 2024-02-15 19:23:04 +08:00
grig-iv
b027487d12
feat: add prepend_rules and append_rules for [icon] (#670) 2024-02-13 16:30:55 +08:00
AbhaySP
84616bd15f
feat: enable the ability to sort the which key (#662) 2024-02-13 02:39:36 +08:00
sxyazi
ed46456f8c
feat: merge wildcard preloader and previewer rules via append_preloaders and append_previewers 2024-02-09 12:37:46 +08:00
三咲雅 · Misaki Masa
d754044aae
fix: task manager not re-rendering after progress update (#633) 2024-02-06 08:35:50 +08:00