yazi/yazi-widgets
SpiritCroc 6c458ca318
feat: H/M/L Vim-like motion for moving cursor relative to viewport
Introduce a new `vp` step unit, that allows you to move the
cursor to relative position based on the items currently rendered on
screen, similar as H/M/L ("high", "middle", "low") would do in Vim.

Not added to default keybinding config since there are some conflicts,
but you can put following to override:

```
{ on = "H", run = "arrow 0vp",   desc = "High: Move cursor to visible viewport top" },
{ on = "M", run = "arrow 50vp",  desc = "Middle: Move cursor to visible viewport center" },
{ on = "L", run = "arrow 100vp", desc = "Low: Move cursor to visible viewport bottom" },
```
2026-06-24 17:33:35 +08:00
..
src feat: H/M/L Vim-like motion for moving cursor relative to viewport 2026-06-24 17:33:35 +08:00
Cargo.toml fix: ignore NumLock state when comparing keybindings (#4071) 2026-06-20 23:57:12 +08:00
README.md docs: document the applicability of all yazi-* crates (#3345) 2025-11-20 09:00:01 +08:00

yazi-widgets

This crate is part of Yazi, and it is not supposed to be used outside, as there are no guarantees about the stability of its API.