Daniel Hallqvist

Dim/fade inactive splits in Atom

September 03, 2016 | 0 Minute Read

Demo of dimming inactive pane

I am a fan of both Vim and Atom. And even though I currently almost only use Vim for developing, I like how easy it is to write packages etc for Atom. One feature that I like with my Vim setup is how that the inactive splits/windows get a fade. This makes it clear(er) which split that is currently active. Depending on what theme you use in Atom, this can be more or less obvious there as well. If you feel that it is less obvious, maybe this can help you:

.pane:not(.active) {
  opacity: 0.5;

Obviously, with as much or less opacity as you like. To quickly edit the atom stylesheet, run the Application: Open your stylesheet command in the command pallette (cmd/ctrl + shift + p).