AutoYADM commit: 2025-03-14 18:45:06
This commit is contained in:
parent
42f6cf6d13
commit
e179969086
3 changed files with 16 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
local M = {}
|
||||
require("custom-shell"):setup({
|
||||
history_path = "default",
|
||||
save_history = true,
|
||||
})
|
||||
|
||||
|
|
|
@ -71,13 +71,20 @@ prepend_keymap = [
|
|||
], desc = "Copy contents of file" },
|
||||
{ on = [
|
||||
"c",
|
||||
"m",
|
||||
"x",
|
||||
], run = 'shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list', desc = "Mime copy" },
|
||||
{ on = [
|
||||
"c",
|
||||
"r",
|
||||
], run = "plugin path-from-root", desc = "Copies path from git root" },
|
||||
|
||||
{ on = [
|
||||
"c",
|
||||
"m",
|
||||
], run = "plugin chmod", desc = "Chmod on selected files" },
|
||||
{ on = [
|
||||
"g",
|
||||
"l",
|
||||
], run = '''shell 'ya emit cd "$(readlink -f "$1")"' ''', desc = "Follow hovered symlink" },
|
||||
]
|
||||
[input]
|
||||
prepend_keymap = [
|
||||
|
|
|
@ -48,6 +48,11 @@ use = "aresler/path-from-root"
|
|||
rev = "68277d2"
|
||||
hash = "ada10d1213f2117878e0fd90df708619"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:chmod"
|
||||
rev = "cb6165b"
|
||||
hash = "2f1053f89d1a301a648ab181d0948e38"
|
||||
|
||||
[[flavor.deps]]
|
||||
use = "ashen-org/ashen:ashen"
|
||||
rev = "ee0708d"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue