From 1078c176bfa01cdf6c92a209a122c2c42604c7a4 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 3 Nov 2024 09:27:28 -1000 Subject: [PATCH] ;doc: pager: link to less FAQ Signed-off-by: Simon Michael --- hledger/hledger.m4.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 3966b4110..3b9c0f08a 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -773,8 +773,9 @@ The pager is expected to display hledger's ANSI colour and text styling. If you see junk characters, you might need to configure your pager to handle ANSI codes. Or you could disable colour as described above. -If you are using the `less` pager, hledger automatically appends a number of options to -the `LESS` variable to enable ANSI colour and a number of other conveniences. +If you are using the [`less` pager](https://www.greenwoodsoftware.com/less/faq.html), +hledger automatically appends a number of options to the `LESS` variable +to enable ANSI colour and a number of other conveniences. (At the time of writing: --chop-long-lines --hilite-unread