solorice/config/yazi/plugins/glow.yazi/README.md
Kristofers Solo 5f54bb78ad Update 2025-02-24
Update 2025-02-03

Update 2025-02-04

Update 2025-02-09

Update 2025-02-14

Update 2025-02-15

Update 2025-02-22

Update 2025-02-24
2025-04-16 13:46:48 +03:00

801 B

glow.yazi

Plugin for Yazi to preview markdown files with glow. To install, run the below mentioned command:

ya pack -a Reledia/glow

then include it in your yazi.toml to use:

[plugin]
prepend_previewers = [
  { name = "*.md", run = "glow" },
]

Make sure you have 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)
prepend_keymap = [
    # glow.yazi
    { on = ["<C-e>"], run = "seek 5" },
    { on = ["<C-y>"], run = "seek -5" },
]