Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
ya.md5()
has been deprecated in favor of the newya.hash()
, in feat: more decent package locking mechanism sxyazi/yazi#2168init.lua
has been deprecated in favor of the newmain.lua
, in feat: more decent package locking mechanism sxyazi/yazi#2168arrow -99999999
andarrow 99999999
have been deprecated in favor of the newarrow top
andarrow bot
, in feat: newarrow top
andarrow bot
commands to jump to the top and bottom sxyazi/yazi#2294--args
option in theplugin
command has been deprecated in favor of a new 2nd positional parameter, in feat: use positional argument instead of--args
for theplugin
command sxyazi/yazi#2299Error
to describe the failure sxyazi/yazi#2253The
mount.yazi
PluginFor a long time, I've been receiving requests from users for a mount manager, but never had the time to finish it. But now — it's here!
mount.yazi
provides disk mount, unmount, and eject functionality:404254109-c6f780ab-458b-420f-85cf-2fc45fcfe3a2.mp4
Done in sxyazi/yazi#2199.
Simplification of
shell
andplugin
commandsWith sxyazi/yazi#2298, you can now write shell scripts directly after
--
(end of options marker). Everything after--
will be treated as raw text, so no more escaping is required, greatly simplifying the writing of complex commands.For example, previously, a simple
echo "hello 'world'"
would look like this:This resulted in nested quotes, which was error-prone and unintuitive.
Now, you can directly include the entire shell script as plain text after
--
without any escaping:Similarly, with sxyazi/yazi#2299, the
plugin
command usage has been simplified as well. For instance:Can now be written as:
Replace Mode and Vim Motions (
W
,E
,B
,^
,_
) for InputsThe Input component now supports replace mode and several new Vim motions, including:
W
: Move forward to the start of the next WORDE
: Move forward to the end of the current or next WORDB
: Move back to the start of the current or previous WORD^
: Move to the first non-whitespace character_
: Move to the first non-whitespace characterThanks to @dxrcy for the work in sxyazi/yazi#2143!
Package Manager Enhancements
The package manager now supports the following new features:
ya pack -d
to delete a package (thanks @MrAsler, feat: newya pack -d
subcommand to delete packages sxyazi/yazi#2181)ya pack
supports adding and deleting multiple packages at the same time sxyazi/yazi#2257)Support Local
tmux
Image Preview Over SSHNow, when you start tmux locally, connect to a remote SSH session, and run Yazi on the remote host, you'll get image preview support out of the box.
Done in sxyazi/yazi#2229.
New
@since
Plugin Annotation to Specify the Minimum Supported Yazi VersionYou can now optionally specify the minimum supported Yazi version in your plugin:
If specified, and the user's Yazi version is lower than the given version, they will receive an error message preventing the plugin from running accidentally.
Done in sxyazi/yazi#2290
New
ya.confirm()
APIThe new
ya.confirm()
API allows you to show a confirmation prompt to the user:You can also apply a UI element to the title and content to customize the appearance: