@@ -263,9 +263,22 @@ script as a wrapper, for example:
263263```bash
264264#!/bin/bash
265265
266−less --tabs 4 -RF "$@"
266+less --tabs 4 -R "$@"
267267```
268268
269+**Note**: By default, if the pager is set to `less`, `bat` will pass the following command line
270+options to the pager: `-R`/`--RAW-CONTROL-CHARS`, `-F`/`--quit-if-one-screen` and `-X`/`--no-init`.
271+The first (`-R`) is needed to interpret ANSI colors correctly. The second option (`-F`) instructs
272+less to exit immediately if the output size is smaller than the vertical size of the terminal.
273+This is convenient for small files because you do not have to press `q` to quit the pager. The
274+third option (`-X`) is needed to fix a bug with the `--quit-if-one-screen` feature in old versions
275+of `less`. Unfortunately, it also breaks mouse-wheel support in `less`. If you want to enable
276+mouse-wheel scrolling, you can either pass just `-R` (as in the example above, this will disable
277+the quit-if-one-screen feature), or you can use a recent version of `less` and pass `-RF` which
278+will hopefully enable both quit-if-one-screen and mouse-wheel scrolling.
279+
280+If scrolling still doesn't work for you, you can try to pass the `-S` option in addition.
281+
269282## Using `bat` on Windows
270283
271284`bat` mostly works out-of-the-box on Windows, but a few features may need extra configuration.