jesseduffield.lazygit/docs-master/keybindings
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
..
Custom_Keybindings.md Convert keybinding fields to Keybinding 2026-05-25 15:32:47 +02:00
Keybindings_en.md Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
Keybindings_ja.md Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
Keybindings_ko.md Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
Keybindings_nl.md Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
Keybindings_pl.md Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
Keybindings_pt.md Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
Keybindings_ru.md Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
Keybindings_zh-CN.md Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
Keybindings_zh-TW.md Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00