Commit Graph

152 Commits

Author SHA1 Message Date
三咲雅 · Misaki Masa
2975b999bf
fix: rollback ratatui to v0.26.1 to avoid panicking (#922) 2024-04-17 11:07:54 +08:00
三咲雅 · Misaki Masa
9e75ed5c71
feat: generate autocomplete script for ya command (#919) 2024-04-16 12:40:14 +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
三咲雅 · Misaki Masa
0cc14f44d7
feat: default "Reveal" opener for Linux (#907) 2024-04-14 01:43:10 +08:00
三咲雅 · Misaki Masa
5fc2789c78
feat: add loading state to directories (#904) 2024-04-13 10:33:42 +08:00
三咲雅 · Misaki Masa
3c67cae42d
feat: when there are no files in the list, add a placeholder message (#900) 2024-04-12 10:09:29 +08:00
三咲雅 · Misaki Masa
884de41b66
feat: add new --orphan option to the shell command (#887) 2024-04-08 08:29:21 +08:00
三咲雅 · Misaki Masa
0cfb50bd49
feat: re-implement fzf as a built-in plugin (#884) 2024-04-07 19:28:09 +08:00
sxyazi
cd2e7ff945
feat: re-implement zoxide as a built-in plugin (#881) 2024-04-07 09:00:58 +08:00
三咲雅 · Misaki Masa
ec83c5dc5c
feat: detect CSI u through Stderr to allow using Stdout as the carrier of DDS payload without an ANSI sequence response timeout (#867) 2024-04-02 20:50:36 +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
e619a97ee2
fix: mime-type for xz archives (#841) 2024-03-26 21:21:41 +08:00
三咲雅 · Misaki Masa
80aebda22c
feat: fix all dependencies to specific version numbers to allow non---locked builds (#821) 2024-03-16 02:29:37 +08:00
三咲雅 · Misaki Masa
411ba2fe85
refactor: switch to stderr (#819) 2024-03-15 20:31:39 +08:00
三咲雅 · Misaki Masa
cddd0727ef
refactor: wrap Opener with Cow to avoid unnecessary memory reallocations when opening files (#805) 2024-03-12 23:35:26 +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
hankertrix
b6e458f221
feat: add <C-p> and <C-n> to the select component for moving the cursor up/down (#779) 2024-03-06 23:39:52 +08:00
sxyazi
42307ee037
feat: test new color system 2024-03-06 21:44:38 +08:00
hankertrix
b7d9a0ad6e
feat: add Ctrl-[ as an escape key (#763) 2024-03-04 20:43:03 +08:00
三咲雅 · Misaki Masa
5169bb90f2
refactor: add new run property (#773) 2024-03-04 17:54:40 +08:00
三咲雅 · Misaki Masa
b4c9ec1de2
fix: nested conflict detection exception when performing cross-level searches (#769) 2024-03-04 11:27:30 +08:00
三咲雅 · Misaki Masa
bd572706cd
feat: ya.input() plugin API (#762) 2024-03-02 20:33:34 +08:00
三咲雅 · Misaki Masa
6a1063d376
perf: apply add_many()/remove_many() to the visual mode items for selection conflict detecting (#758) 2024-03-02 11:01:52 +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
三咲雅 · Misaki Masa
8ea7556625
feat: better accessibility (#719) 2024-02-24 09:11:53 +08:00
Filipe Paniguel
e51e8ad789
feat: add csharp, kdl and nu icons (#711) 2024-02-22 07:02:55 +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
Jaakko Paju
5c078aa18b
feat: add icons for Scala, Elm and Java (.jar & .class) 2024-02-16 13:13:33 +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
三咲雅 · Misaki Masa
95d2358100
feat: expose selected/yanked files as API (#674) 2024-02-15 20:20:28 +08:00
Andy
ebe0257180
feat: add color to icons (#683) 2024-02-15 19:29:15 +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
三咲雅 · Misaki Masa
22ecad47ab
feat: Vim-like notification (#659) 2024-02-13 03:26:17 +08:00
AbhaySP
84616bd15f
feat: enable the ability to sort the which key (#662) 2024-02-13 02:39:36 +08:00
grig-iv
4b1783765f
feat: add <Delete> to [input] keymap (#665) 2024-02-12 15:00:12 +08:00
grig-iv
4222c0ed45
feat: add <Home> and <End> to [input] keymap 2024-02-11 15:48:58 +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
sxyazi
0d7e977076
chore: bump version to 0.2.3 2024-02-07 11:18:23 +08:00
三咲雅 · Misaki Masa
d754044aae
fix: task manager not re-rendering after progress update (#633) 2024-02-06 08:35:50 +08:00
HE7086
d776ce1074
feat: support char device in filetype (#628) 2024-02-05 09:50:39 +08:00
三咲雅 · Misaki Masa
b51d1f26d0
feat: plugin interface for key events via ya.which() (#617) 2024-02-03 01:09:26 +08:00
Sinkerine
b013dff4fe
feat: support unyank (#313) 2024-01-31 21:53:30 +08:00
三咲雅 · Misaki Masa
9d912b07aa
refactor: use Cmd instead of Exec (#604) 2024-01-31 08:59:47 +08:00
三咲雅 · Misaki Masa
f31f78b063
feat: allow to configure image filter (#586) 2024-01-26 22:59:49 +08:00
三咲雅 · Misaki Masa
ba0c860b2e
feat: new image_quality and sixel_fraction options to allow users to configure the image preview quality (#576) 2024-01-25 15:47:59 +08:00
三咲雅 · Misaki Masa
28870ad26e
feat: customizing the number of columns of "which key" component (#571) 2024-01-24 16:18:40 +08:00
三咲雅 · Misaki Masa
3248dbd8bb
feat: support submit completion and input at once by using <Enter> key (#565) 2024-01-23 16:45:57 +08:00
三咲雅 · Misaki Masa
56ede51c53
perf: new event system (#561) 2024-01-22 18:43:50 +08:00
三咲雅 · Misaki Masa
acb8b47eee
feat: improve search input title (#559) 2024-01-22 14:25:07 +08:00
三咲雅 · Misaki Masa
701c08ce1e
feat: allow the spawned child processes to suspend (#556) 2024-01-22 08:43:51 +08:00
三咲雅 · Misaki Masa
93dc1b78e2
feat: add prepend_keymap and append_keymap for configuring mixing (#546) 2024-01-20 13:55:57 +08:00
sxyazi
97a7eb7d47
feat: add file(1) as the file fallback previewer (#543) 2024-01-20 08:41:46 +08:00
三咲雅 · Misaki Masa
6145bc38dc
fix: can't open and reveal paths with spaces on Windows (#526) 2024-01-17 00:13:23 +08:00
sxyazi
1036685f91
chore: update trash to 3.2.1 2024-01-16 08:29:26 +08:00
Azad
ca78f4c9b0
feat: add --empty and --cursor options to the rename command (#513) 2024-01-16 00:14:49 +08:00
三咲雅 · Misaki Masa
a1c963accc
perf: partial rendering progress and composite into a complete UI to reduce CPU consumption caused by frequent progress updates (#509) 2024-01-15 18:30:50 +08:00
Azad
bf9f8f4273
feat: add support for highlighting by file type (#510) 2024-01-13 23:19:40 +08:00
sxyazi
876419a6c4
chore: bump version to 0.2.0 2024-01-13 21:13:23 +08:00
uncenter
e41266dbe3
chore: add schema urls to preset config (#506) 2024-01-12 20:15:36 +08:00
三咲雅 · Misaki Masa
560a1bf3f9
feat: icon color and ordered icon rules support (#503) 2024-01-10 23:24:36 +08:00
sxyazi
085f7e39bf
refactor: remove unnecessary .lua extension 2024-01-08 12:12:06 +08:00
sxyazi
93c8d90a51
feat: add new prepend_preloaders, append_preloaders, prepend_previewers, append_previewers config options 2024-01-06 12:58:42 +08:00
sxyazi
63f81f6431
refactor: replace FilesOp::IOErr with FilesOp::Deleting 2024-01-03 09:46:47 +08:00
三咲雅 · Misaki Masa
5fb0fceacb
perf: chunk loading for mime-types (#467) 2024-01-01 21:15:38 +08:00
sxyazi
ccb98ac21f
feat: v0.2.0 API 2023-12-30 23:41:41 +08:00
三咲雅 · Misaki Masa
32aa1909cf
feat: fine-grained scheduling priority (#462) 2023-12-29 22:37:43 +08:00
Rolv Apneseth
d2599b80b0
feat: filter files in real-time (#454) 2023-12-28 00:33:16 +08:00
三咲雅 · Misaki Masa
82bab0f24a
feat!: custom preloader & previewer (#401) 2023-12-26 19:48:33 +08:00
againstpetra
1d1a512710
feat: new config option to suppress pre-caching tasks (#430) 2023-12-06 01:07:23 +08:00
JYShaw
b41bea9e8f
feat: support sorting by file extension (#405) 2023-11-28 15:16:42 +08:00
三咲雅 · Misaki Masa
a1984725e4
refactor: move event to shared (#403) 2023-11-28 02:21:36 +08:00
sxyazi
4d7d2ef082
feat: add a warning about <Backspace> key 2023-11-25 17:08:17 +08:00
三咲雅 · Misaki Masa
63b7491ad7
fix: popup components (Input, Select, etc.) being covered by previewed images (#360) 2023-11-23 21:36:35 +08:00
Hanaasagi
c643afd6e6
feat: include commit hash in yazi --version (#393) 2023-11-23 19:21:25 +08:00
Martin Wimpress
5439c80a03
feat: add more mime-types, file extensions and icons to the preset theme (#387) 2023-11-22 11:55:44 +08:00
Martin Wimpress
3e6dfcaceb
feat: cursor and page key navigation parity with Vim bindings (#386) 2023-11-22 09:42:31 +08:00
三咲雅 · Misaki Masa
d57a9642db
feat: make emacs readline keybindings configurable (#382) 2023-11-21 09:35:25 +08:00
sxyazi
d2963b23a9
refactor: eliminate the old kitty graphics protocol 2023-11-18 13:05:16 +08:00
sxyazi
27255b22de
fix: avoid expanding paths for non-regular URLs 2023-11-18 11:28:54 +08:00
三咲雅 · Misaki Masa
f3e45d4a47
feat: expose image max alloc and bound to allow for more control (#376) 2023-11-18 10:01:05 +08:00
Hanaasagi
bb2353c7b9
feat: make Input and Select positions customizable (#361) 2023-11-18 01:40:20 +08:00
sxyazi
0ea9bcda5f
feat: reduce the minimum number of workers to 1 2023-11-15 12:31:13 +08:00
三咲雅 · Misaki Masa
24e92d09e5
perf: clear only limited cells when hiding images (#369) 2023-11-15 08:52:56 +08:00
三咲雅 · Misaki Masa
f038391ef5
refactor: use more reasonable numeric field types for configs (#368) 2023-11-15 08:51:11 +08:00
三咲雅 · Misaki Masa
0931bc2bc6
feat: add support for opening a file on startup (#358) 2023-11-14 08:28:56 +08:00
sxyazi
7c49d9c57a
fix: use <Tab> for completion confirming to avoid conflicts with the Input component 2023-11-07 20:24:53 +08:00
XOR-op
5b66f6fcf5
feat: auto-completion for input component (#324) 2023-11-04 06:30:52 +08:00