InactivePanes is a plugin for Sublime Text 2 and 3 that will dim the currently visible but inactivate panes to show you more visibly where your caret is and which view is focussed. Really useful with the Origami plugin or ST3's native panel handling.
This plugin could have incompatabilities with other plugins that modify color schemes programmatically, but so far no issues have been found. Please report errors you do encounter with this plugin here, also if they are not related to other plugins.
You can install this package from Package Control as "InactivePanes".
Views in inactive groups will automatically dimmed automatically when you install it.
When you want to disable this package, use Package Control's Disable Package
and Enable Package commands. Alternatively you can adjust your
"ignored_packages" setting manually.
Warning: If you want to remove the package, use Package Control's Remove Package command. Do not delete the plugin folder by yourself if you didn't disable the package before and ST is not running! This will cause various error messages because of outdated file references (but nothing critical).
The following settings can be specified everywhere where you'd specify a
color_scheme - user settings (Preferences > Settings - User),
syntax-specific (Preferences > Settings - More > Syntax Specific - User)
or project settings. Thus, you can adjust each color scheme
separately to blend with your theme's sidebar for example.
Change the color to dim to. Must be in the format
#RRGGBBwith hexadecimal numbers.
Change the dim strength; ranges from
0(no modification) to
1(everything will be changed to the color set above).
Using a modified Twilight color scheme with a dim strength of
Using the bundled LAZY color scheme with a dim strength of
Using a modified Twilight color scheme with a custom color of
"#7F7F00" and dim strength of
- When opening the same file in two groups (with command palette or by cloning it), both of the views will be marked as inactive. This is caused by an underlying Sublime Text bug (https://github.com/SublimeTextIssues/Core/issues/731) and can be worked around by restarting Sublime Text after cloning.
InactivePanes is a split from Origami which once included this feature but due to various issues it was removed. I extracted relevant commits (for retaining the commit history) from the Origami repo to keep developing this feature because I've used it ever since and think that it's really useful.