lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Disable bold highlight

Open uloco opened this issue 2 years ago • 6 comments

Is there a way to disable the bold highlighting of selected lines? I just want it to reverse and not bold the text. I tried doing so with the config but whatever color/modifier I use the text is is always bold. (and uses the bold color)

uloco avatar Dec 02 '22 10:12 uloco

Did you ever find a solution @uloco? Would like to "fix" that as well :)

svanharmelen avatar Feb 13 '24 22:02 svanharmelen

Idon't remember but I think I worked around it.

See my dotfiles for config

uloco avatar Feb 13 '24 22:02 uloco

Will have a look, thanks...

svanharmelen avatar Feb 13 '24 22:02 svanharmelen

@svanharmelen got solution?

niksingh710 avatar Mar 13 '24 06:03 niksingh710

It's hard-coded in gocui right now, there's no way to change it through configuration. That would be a feature request, I guess.

stefanhaller avatar Mar 13 '24 06:03 stefanhaller

@niksingh710 not really, but I added this to my lazygit.yml which made the "problem" much less visible (selected lines looks much more natural now). So for me this is not really an issue anymore...

gui:
  theme:
    selectedLineBgColor:
      - '#444444'

EDIT: I do use the latest version (so build by go install github.com/jesseduffield/lazygit@master or by checking out the repo and building locally) as it has some fixes around the selected line highlighting in detail/diff views.

svanharmelen avatar Mar 13 '24 07:03 svanharmelen