diff --git a/docs/config.md b/docs/config.md index a34e3ceeb..35ebf4e4f 100644 --- a/docs/config.md +++ b/docs/config.md @@ -359,10 +359,13 @@ a `$`): `less -FRX` is the default pager in the absence of any other setting, except on Windows where it is `:builtin`. -The special value `:builtin` enables usage of the -[integrated pager](https://github.com/arijit79/minus/). It is likely if you -are using a standard Linux distro, your system has `$PAGER` set already -and that will be preferred over the built-in. To use the built-in: +The special value `:builtin` enables usage of the [integrated pager called +`minus`](https://github.com/AMythicDev/minus/). See the [docs for the `minus` +pager](https://docs.rs/minus/latest/minus/#default-keybindings) for the key +bindings and some more details. + +If you are using a standard Linux distro, your system likely already has +`$PAGER` set and that will be preferred over the built-in. To use the built-in: ``` jj config set --user ui.pager :builtin diff --git a/docs/windows.md b/docs/windows.md index 5c55c434e..b13b65e94 100644 --- a/docs/windows.md +++ b/docs/windows.md @@ -33,10 +33,12 @@ especially IDEs, preserve LF line endings. ## Pagination -[Pagination is disabled by default on Windows][issue-2040] because Windows -doesn't ship with a usable pager. +On Windows, `jj` will use its integrated pager called `minus` by default, unless +the environment variable `%PAGER%` or the config `ui.pager` is explicitly set. +See the [pager section of the config docs](config.md#pager) for more details. -If you have Git installed, you can use Git's pager and re-enable pagination: +If the built-in pager doesn't meet your needs and you have Git installed, you +can switch to using Git's pager as follows: ```powershell PS> jj config set --user ui.pager '["C:\\Program Files\\Git\\usr\\bin\\less.exe", "-FRX"]'