From fb81fc6057be6d4bd13f705b4b21647a46f23909 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 18 Aug 2024 15:21:36 +0200 Subject: [PATCH] Add documentation about delta --hyperlinks --- docs/Custom_Pagers.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Custom_Pagers.md b/docs/Custom_Pagers.md index f1b01b382..4324f77dc 100644 --- a/docs/Custom_Pagers.md +++ b/docs/Custom_Pagers.md @@ -26,6 +26,8 @@ git: ![](https://i.imgur.com/QJpQkF3.png) +A cool feature of delta is --hyperlinks, which renders clickable links for the line numbers in the left margin, and lazygit supports these. To use them, set the `pager:` config to `delta --dark --paging=never --line-numbers --hyperlinks --hyperlinks-file-link-format="lazygit-edit://{path}:{line}`; this allows you to click on an underlined line number in the diff to jump right to that same line in your editor. + ## Diff-so-fancy ```yaml