📌 📄 内容摘要:
Infinity4B 在 在Yazi中使用glow打开.md文件的方法分享 中发帖
在Yazi中,如果默认使用enter打开.md文件,会用vim打开,如果想要用glow打开的话,可以编辑~/.config/yazi/yazi.toml,在其中加入
[opener]
glow = [
{ run = 'glow --tui %s', block = true, for = "unix" }
]
[open]
prepend_rules = [
{ url = "*.md", use = "glow" },
]
之后就可以选中md文件,enter用glow打开了,方便查看
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/1771625/1
─────────────────────────────
📢 来源:LINUX DO