From 39c10f82b52b76998831260faae4d3a160bf95db Mon Sep 17 00:00:00 2001 From: Diogo Duarte Date: Thu, 15 Feb 2024 12:38:48 +0000 Subject: [PATCH] docs: add `scrolloff` option to `[manager]` in `yazi.toml` (#38) --- docs/configuration/yazi.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/configuration/yazi.md b/docs/configuration/yazi.md index 1c019391..7582b5c8 100644 --- a/docs/configuration/yazi.md +++ b/docs/configuration/yazi.md @@ -76,6 +76,12 @@ Show the path of the symlink file point to, after the filename. - `true`: Show - `false`: Do not show +### `scrolloff` + +The number of files to keep above and below the cursor when moving through the file list. + +If the value is larger than half the screen height (e.g. `200`), the cursor will be centered. + ## [preview] ### `tab_size`