reddit / emacs

Visual indication of focused/active window for GUI **and** terminal?

[deleted] · 2022-12-17 18:32
[deleted]
MitchellMarquez42 · 2022-12-17 19:21
I use `airline-themes` as my modeline and it just werks
a_kurth · 2022-12-17 19:44
You might try [dimmer](https://github.com/gonewest818/dimmer.el), which works fine for me.
[deleted] · 2022-12-18 16:05
[deleted]
[deleted] · 2022-12-18 16:05
[deleted]
fuzzbomb23 · 2022-12-18 16:40
Here are some things you could try. You can use a distinctive colour difference for the mode line, by customizing the `mode-line` and `mode-line-inactive` faces. Some themes do this; for example the built-in Leuven theme. I myself use the Modus Vivendi theme, which has an option to use an accent on the active window modeline. Use the `global-hl-line-mode` to highlight the current line, but only in the current window. Use the Pulsar package, to flash the current line whenever you change window. A downside is that it's just a momentary indicator. The previous two approaches are persistent.
a_kurth · 2022-12-18 17:13
For me it does; tested with alacritty and xfce4-terminal. If by "terminal" you mean the linux console (tty), then of course it doesn’t. Also, please make sure to use different buffers in the two windows, because dimmer is buffer-centric.
[deleted] · 2022-12-18 21:31
[deleted]
[deleted] · 2022-12-18 21:32
[deleted]