Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change selected/copied/cut files highlight #1538

Closed
flashrunnerGH opened this issue Dec 13, 2023 · 1 comment · Fixed by #1540
Closed

Change selected/copied/cut files highlight #1538

flashrunnerGH opened this issue Dec 13, 2023 · 1 comment · Fixed by #1540

Comments

@flashrunnerGH
Copy link

flashrunnerGH commented Dec 13, 2023

I have read the docs but haven't find any option to change the highlight of selected files (the box before the file name when you press space). Is it possible?

@joelim-work
Copy link
Collaborator

The colors are cut/copied/selected files are currently hardcoded:

lf/ui.go

Lines 351 to 354 in d8b7df8

// These colors are not currently customizeable
const SelectionColor = tcell.ColorPurple
const YankColor = tcell.ColorOlive
const CutColor = tcell.ColorMaroon

I think this is a reasonable feature to implement, given that there is already support for customizing the color of other things like borderfmt and numberfmt.

I have submitted a PR #1540 for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants