Q: is there a way to have
hl-line-mode highlight the current line
only in the selected window?
When I have multiple windows showing buffers with
on, it is difficult to tell, at a glance, which window is
I have the variable
nil to show the cursor only in the current window, but that
visual cue is swamped by the highlighted lines in the windows.
Is there a similar setting to allow me to have
the highlighted line only in the current window? Even better, is
there a way to give the highlighted lines a different face when
they're in inactive windows (analogous to
PS: yes, I can look at the mode line to tell which window is active, but doing so takes my eyes away from what I'm doing and breaks my concentration.