feat: link to the quick-start in yazi --help where lists all common keybinds (#3754)

This commit is contained in:
三咲雅 misaki masa 2026-03-11 13:34:11 +08:00 committed by GitHub
parent 1be991ec72
commit e4829372db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

View file

@ -50,7 +50,7 @@ impl Actor for Cd {
err!(Pubsub::pub_after_cd(tab.id, tab.cwd()));
act!(mgr:displace, cx)?;
act!(mgr:hidden, cx)?;
act!(mgr:hidden, cx).ok();
act!(mgr:sort, cx).ok();
act!(mgr:hover, cx)?;
act!(mgr:refresh, cx)?;

View file

@ -25,7 +25,7 @@ impl Actor for UpdateFiles {
}
render!(cx.mgr.yanked.catchup_revision(false));
act!(mgr:hidden, cx)?;
act!(mgr:hidden, cx).ok();
act!(mgr:sort, cx).ok();
if revision != cx.current().files.revision {

View file

@ -5,6 +5,7 @@ use yazi_shared::{Id, url::UrlBuf};
#[derive(Debug, Default, Parser)]
#[command(name = "yazi")]
#[command(after_help = "See https://yazi-rs.github.io/docs/quick-start for a quick starter.")]
pub struct Args {
/// Set the current working entry
#[arg(index = 1, num_args = 1..=9)]

View file

@ -39,8 +39,8 @@ function M:spot_multi(job, comp)
local rows = {
ui.Row({ "Multi" }):style(ui.Style():fg("green")),
ui.Row { " Count:", string.format("%d selected", #self.selected) },
ui.Row { " Size:", ya.readable_size(self.sum) .. (comp and "" or " (?)") },
ui.Row { " Count:", string.format("%d selected", #self.selected) },
}
ya.spot_table(