summaryrefslogtreecommitdiff
path: root/yazi/plugins/glow.yazi/README.md
diff options
context:
space:
mode:
authorsubh <subh@subh.space>2026-04-03 14:47:03 +0530
committersubh <subh@subh.space>2026-04-03 14:47:03 +0530
commit314d760de1922128124f2a9be0494fd4f6f7effb (patch)
tree3f4bb374fc89be2b1cd4e2a0a21ae17d4bf83452 /yazi/plugins/glow.yazi/README.md
parent0203dd4b8d45c663356f797c11be17fdec6f22f2 (diff)
new music bar, auto usb mounting and more
Diffstat (limited to 'yazi/plugins/glow.yazi/README.md')
-rw-r--r--yazi/plugins/glow.yazi/README.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/yazi/plugins/glow.yazi/README.md b/yazi/plugins/glow.yazi/README.md
new file mode 100644
index 0000000..5e12e0f
--- /dev/null
+++ b/yazi/plugins/glow.yazi/README.md
@@ -0,0 +1,33 @@
+# glow.yazi
+
+>[!WARNING]
+>This plugin is now deprecated with the release of [Piper](https://github.com/yazi-rs/plugins/tree/main/piper.yazi#examples)
+
+Plugin for [Yazi](https://github.com/sxyazi/yazi) to preview markdown files with [glow](https://github.com/charmbracelet/glow). To install, run the below mentioned command:
+
+```bash
+ya pack -a Reledia/glow
+```
+
+then include it in your `yazi.toml` to use:
+
+```toml
+[plugin]
+prepend_previewers = [
+ { name = "*.md", run = "glow" },
+]
+```
+
+Make sure you have [glow](https://github.com/charmbracelet/glow) installed, and can be found in `PATH`.
+
+## Feature
+
++ You can modify line wrap in `main.lua`, the current value is 55.
++ You can press `ctrl+e` to scroll up and `ctrl+y` to scroll down the readme file in preview panel in yazi: (add this to `keymap.toml`)
+```toml
+prepend_keymap = [
+ # glow.yazi
+ { on = ["<C-e>"], run = "seek 5" },
+ { on = ["<C-y>"], run = "seek -5" },
+]
+```