From 8b103b16bd3a06d0e661e507832459fae7ec1198 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 18 Apr 2022 11:08:40 +1000 Subject: [PATCH] add highlighting docs --- docs/Config.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/Config.md b/docs/Config.md index c78580471..17ee21834 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -350,6 +350,30 @@ gui: - default ``` +## Highlighting the selected line + +If you don't like the default behaviour of highlighting the selected line with a blue background, you can use the `selectedLineBgColor` and `selectedRangeBgColor` keys to customise the behaviour. If you just want to embolden the selected line (this was the original default), you can do the following: + +```yaml +gui: + theme: + selectedLineBgColor: + - default + selectedRangeBgColor: + - default +``` + +You can also use the reverse attribute like so: + +```yaml +gui: + theme: + selectedLineBgColor: + - reverse + selectedRangeBgColor: + - reverse +``` + ## Custom Author Color Lazygit will assign a random color for every commit author in the commits pane by default.