From f68f027bccac6f8398e7975eb0ebf64aefe85176 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Thu, 1 Jan 2026 14:34:13 +0100 Subject: [PATCH] Add a note about delta's --navigate option not working in lazygit --- docs-master/Custom_Pagers.md | 2 ++ docs/Custom_Pagers.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs-master/Custom_Pagers.md b/docs-master/Custom_Pagers.md index c6616cecf..83f4e4e62 100644 --- a/docs-master/Custom_Pagers.md +++ b/docs-master/Custom_Pagers.md @@ -31,6 +31,8 @@ git: 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. +Note that delta's `--navigate` option doesn't work in lazygit, for technical reasons. + ## Diff-so-fancy ```yaml diff --git a/docs/Custom_Pagers.md b/docs/Custom_Pagers.md index c6616cecf..83f4e4e62 100644 --- a/docs/Custom_Pagers.md +++ b/docs/Custom_Pagers.md @@ -31,6 +31,8 @@ git: 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. +Note that delta's `--navigate` option doesn't work in lazygit, for technical reasons. + ## Diff-so-fancy ```yaml