mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
| .. | ||
| DO_NOT_MODIFY_ANYTHING_IN_THIS_DIRECTORY | ||
| init.lua | ||
| LICENSE | ||
| README.md | ||
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
init.lua, the current value is 55. - You can press
ctrl+eto scroll up andctrl+yto scroll down the readme file in preview panel in yazi: (add this tokeymap.toml)
prepend_keymap = [
# glow.yazi
{ on = ["<C-e>"], run = "seek 5" },
{ on = ["<C-y>"], run = "seek -5" },
]