summaryrefslogtreecommitdiffstats
path: root/docs/Config.md
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-04-18 11:08:40 +1000
committerJesse Duffield <jessedduffield@gmail.com>2022-04-18 11:08:54 +1000
commit8b103b16bd3a06d0e661e507832459fae7ec1198 (patch)
tree6c43b24f0f5ee5029049d72730b58fe07d8a562f /docs/Config.md
parentdfb293c9859980766bace8360ad26563d02e1345 (diff)
add highlighting docs
Diffstat (limited to 'docs/Config.md')
-rw-r--r--docs/Config.md24
1 files changed, 24 insertions, 0 deletions
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.