mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
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" },
```
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||