Skip to content

Commit

Permalink
fixup! Add documentation about delta --hyperlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaller committed Aug 20, 2024
1 parent 752ce3e commit 7d53179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Custom_Pagers.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ 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`. If you are a VS Code user, I recommend to add `--hyperlinks-file-link-format="vscode://file/{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. If you are using some other text editor, see [delta's documentation](https://dandavison.github.io/delta/hyperlinks.html) for tips how to get this to work.
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

Expand Down

0 comments on commit 7d53179

Please sign in to comment.