This commit is contained in:
2026-02-04 19:25:40 -05:00
parent 4aaea612e7
commit ad5d8c8156
4 changed files with 34 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ set $down j
set $up k set $up k
set $right l set $right l
# Your preferred terminal emulator # Your preferred terminal emulator
set $term kitty set $term alacritty
# Your preferred application launcher # Your preferred application launcher
set $menu rofi -show drun set $menu rofi -show drun

1
.config/yazi/init.lua Normal file
View File

@@ -0,0 +1 @@
require("git"):setup()

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

@@ -0,0 +1,12 @@
[[plugin.deps]]
use = "AnirudhG07/rich-preview"
rev = "573b275"
hash = "c3e2871c9ef244fd181f203791f9b0d2"
[[plugin.deps]]
use = "yazi-rs/plugins:git"
rev = "6c71385"
hash = "36a484acf6a0a0219c543ccb4cee218f"
[flavor]
deps = []

20
.config/yazi/yazi.toml Normal file
View File

@@ -0,0 +1,20 @@
[plugin]
prepend_previewers = [
{ url = "*.csv", run = "rich-preview"}, # for csv files
{ url = "*.md", run = "rich-preview" }, # for markdown (.md) files
{ url = "*.rst", run = "rich-preview"}, # for restructured text (.rst) files
{ url = "*.ipynb", run = "rich-preview"}, # for jupyter notebooks (.ipynb)
{ url = "*.json", run = "rich-preview"}, # for json (.json) files
# { url = "*.lang_type", run = "rich-preview"} # for particular language files eg. .py, .go., .lua, etc.
]
[[plugin.prepend_fetchers]]
id = "git"
url = "*"
run = "git"
[[plugin.prepend_fetchers]]
id = "git"
url = "*/"
run = "git"