custom-hypr - add yazi config

This commit is contained in:
huyjaky
2025-03-08 21:24:58 +07:00
parent ad65845811
commit cefa13dd6d
30 changed files with 3475 additions and 46 deletions

12
.config/yazi/keymap.toml Normal file
View File

@@ -0,0 +1,12 @@
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
"$schema" = "https://yazi-rs.github.io/schemas/keymap.json"
[manager]
prepend_keymap = [
{ on = ['c', 'm'], run = "plugin chmod", desc = "Chmod on selected files" },
{ on = "<A-p>", run = "plugin toggle-pane min-preview", desc = "Hide or show preview" },
{ on = "M", run = "plugin toggle-pane max-preview", desc = "Maximize or restore preview" },
# { on = "f", run = "plugin jump-to-char", desc = "Jump to char" },
{ on = "<C-y>", run = "plugin wl-clipboard", desc = "Copy wl-clipboard" },
]