Add yazi plugins

This commit is contained in:
Hydroxycarbamide 2025-03-01 17:17:03 +01:00
parent 87fb0d61e5
commit 0e06731987
Signed by: Siklos
GPG key ID: C06D07D96997549A
13 changed files with 520 additions and 2 deletions

View file

@ -31,8 +31,7 @@ ueberzug_offset = [ 0, 0, 0, 0 ]
[opener]
edit = [
{ run = '${EDITOR:-vi} "$@"', desc = "$EDITOR", block = true, for = "unix" },
{ run = 'code %*', orphan = true, desc = "code", for = "windows" },
{ run = 'code -w %*', block = true, desc = "code (block)", for = "windows" },
{ run = 'hx %*', block = true, desc = "code (block)", for = "windows" },
]
open = [
{ run = 'xdg-open "$1"', desc = "Open", for = "linux" },
@ -147,6 +146,16 @@ previewers = [
{ name = "*", run = "file" },
]
[[plugin.prepend_fetchers]]
id = "git"
name = "*"
run = "git"
[[plugin.prepend_fetchers]]
id = "git"
name = "*/"
run = "git"
[input]
cursor_blink = false