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({
|
require("custom-shell"):setup({
|
||||||
history_path = "default",
|
history_path = "default",
|
||||||
save_history = true,
|
save_history = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -71,13 +71,20 @@ prepend_keymap = [
|
||||||
], desc = "Copy contents of file" },
|
], desc = "Copy contents of file" },
|
||||||
{ on = [
|
{ on = [
|
||||||
"c",
|
"c",
|
||||||
"m",
|
"x",
|
||||||
], run = 'shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list', desc = "Mime copy" },
|
], run = 'shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list', desc = "Mime copy" },
|
||||||
{ on = [
|
{ on = [
|
||||||
"c",
|
"c",
|
||||||
"r",
|
"r",
|
||||||
], run = "plugin path-from-root", desc = "Copies path from git root" },
|
], 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]
|
[input]
|
||||||
prepend_keymap = [
|
prepend_keymap = [
|
||||||
|
|
|
@ -48,6 +48,11 @@ use = "aresler/path-from-root"
|
||||||
rev = "68277d2"
|
rev = "68277d2"
|
||||||
hash = "ada10d1213f2117878e0fd90df708619"
|
hash = "ada10d1213f2117878e0fd90df708619"
|
||||||
|
|
||||||
|
[[plugin.deps]]
|
||||||
|
use = "yazi-rs/plugins:chmod"
|
||||||
|
rev = "cb6165b"
|
||||||
|
hash = "2f1053f89d1a301a648ab181d0948e38"
|
||||||
|
|
||||||
[[flavor.deps]]
|
[[flavor.deps]]
|
||||||
use = "ashen-org/ashen:ashen"
|
use = "ashen-org/ashen:ashen"
|
||||||
rev = "ee0708d"
|
rev = "ee0708d"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue