yazi added file-extra-metadata
This commit is contained in:
@@ -49,3 +49,11 @@ run = 'piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dark "$1"'
|
|||||||
[[plugin.prepend_previewers]]
|
[[plugin.prepend_previewers]]
|
||||||
name = "*/"
|
name = "*/"
|
||||||
run = 'piper -- eza -TL=3 --color=always --icons=always --group-directories-first --no-quotes "$1"'
|
run = 'piper -- eza -TL=3 --color=always --icons=always --group-directories-first --no-quotes "$1"'
|
||||||
|
|
||||||
|
[[plugin.append_previewers]]
|
||||||
|
name = "*"
|
||||||
|
run = 'file-extra-metadata'
|
||||||
|
|
||||||
|
[[plugin.prepend_spotters]]
|
||||||
|
name = "*"
|
||||||
|
run = 'file-extra-metadata'
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ installmap = dict(
|
|||||||
"gparted",
|
"gparted",
|
||||||
"sshfs",
|
"sshfs",
|
||||||
"file-roller",
|
"file-roller",
|
||||||
|
"7zip", # explore zip files
|
||||||
"zoxide", # quick search
|
"zoxide", # quick search
|
||||||
"eza", # pretty alternative to `ls`
|
"eza", # pretty alternative to `ls`
|
||||||
"glow", # markdown renderer
|
"glow", # markdown renderer
|
||||||
@@ -286,15 +287,16 @@ def install_filebrowsers(overwrite: bool, reinstall: bool) -> None:
|
|||||||
helper_symlink_foldercontent(CFG_SRC, CFG_TGT, "ranger", overwrite)
|
helper_symlink_foldercontent(CFG_SRC, CFG_TGT, "ranger", overwrite)
|
||||||
helper_symlink_foldercontent(CFG_SRC, CFG_TGT, "yazi", overwrite)
|
helper_symlink_foldercontent(CFG_SRC, CFG_TGT, "yazi", overwrite)
|
||||||
for plugin in [
|
for plugin in [
|
||||||
"chmod",
|
"yazi-rs/plugins:chmod",
|
||||||
"git",
|
"yazi-rs/plugins:git",
|
||||||
"mount",
|
"yazi-rs/plugins:mount",
|
||||||
"piper",
|
"yazi-rs/plugins:piper",
|
||||||
"smart-enter",
|
"yazi-rs/plugins:smart-enter",
|
||||||
"smart-filter",
|
"yazi-rs/plugins:smart-filter",
|
||||||
"toggle-pane",
|
"yazi-rs/plugins:toggle-pane",
|
||||||
|
"boydaihungst/file-extra-metadata",
|
||||||
]:
|
]:
|
||||||
run(f"ya pkg add yazi-rs/plugins:{plugin}".split())
|
run(f"ya pkg add {plugin}".split())
|
||||||
|
|
||||||
|
|
||||||
def install_netbrowsers(overwrite: bool, reinstall: bool) -> None:
|
def install_netbrowsers(overwrite: bool, reinstall: bool) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user