I'd like to have a visual marker that is impossible to miss to show when I am viewing a file under a particular directory. Just having the path in the modeline is not enough to avoid confusion sometimes.

For example, if I use git worktree and am viewing two versions of the same file from different worktrees, I need to avoid confusion.

I'd like to have the background color set slightly differently based on the filepath - I'd be fine setting it manually.

I don't see a way to have the color different on a per-buffer basis, is there a way?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.