jesseduffield.lazygit/pkg/config
Stefan Haller 8731d8a51b Rework the custom pager config (rename to diff renderer)
For a long time lazygit has used the term "custom pager" to refer to
what's really a "diff renderer". A pager is a program that allows you to
view output page by page (hence the name), e.g. less; lazygit's custom
diff renderers are not pagers. It used the term only because the feature
is implemented using git's GIT_PAGER env var, but that's an
implementation detail.

Rename the 'git.pagers' config to 'git.diffRenderers', and restructure
its elements while we're at it to make things clearer:

- Add a 'type' field to explicitly specify which type of diff renderer
  it is (the two fundamentally different ones are 'stdinFilter' and
  'extDiff').
- Add a third type, 'rawGit', which has an 'args' field that makes it
  easy to use 'git --color-words' as a custom renderer
- Unify the old 'pager' and 'externalDiffCommand' fields to a single
  'command' field for both types

Existing config files are migrated automatically.
2026-07-31 08:42:51 +02:00
..
app_config.go Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
app_config_test.go Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
config_default_platform.go Clean up build tags 2025-08-14 20:40:44 +02:00
config_linux.go Fix opening links containing ampersands (&) in WSL 2024-12-04 09:43:30 +01:00
config_windows.go Change OpenCommand to Open and OpenLinkCommand to OpenLink 2023-04-13 13:14:00 +02:00
diff_renderer_config_manager.go Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
diff_renderer_config_manager_test.go Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
dummies.go Fold legacy quit-alt1 into the multi-key quit binding 2026-05-25 15:32:47 +02:00
editor_presets.go fix(config): add Nushell support for nvim-remote preset 2026-02-07 09:00:10 +01:00
editor_presets_test.go Fix nvim-remote commands for fish shell 2025-04-27 20:12:11 +02:00
keybinding.go Fold legacy quit-alt1 into the multi-key quit binding 2026-05-25 15:32:47 +02:00
keybinding_test.go Fold legacy quit-alt1 into the multi-key quit binding 2026-05-25 15:32:47 +02:00
keynames.go Convert keybinding fields to Keybinding 2026-05-25 15:32:47 +02:00
keynames_test.go Change keybinding syntax to spell out full modifier names, and use + instead of - 2026-04-30 22:38:53 +02:00
side_panel.go Add the gui.sidePanels config option 2026-06-23 14:15:18 +02:00
user_config.go Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
user_config_validation.go Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
user_config_validation_test.go Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00