Sublime Forum

Highlight active pane

#1

Hi,

I am using sublime with five panes in the same window. I have hotkeys to shift to each pane as required.

I lose track of which pane I’m editing. Is there a way that I can highlight the active pane by maybe changing the background color to be lighter?

0 Likes

#2

I would like to have this feature too because I go back and forth between different panes and can’t easily tell which pane my cursor is in.

0 Likes

#3

Me too. The current tab in every group is highlighted in the same way, so the only way to see which tab is the active one is to look for the gutter highlight (or to move the cursor, or to use the mouse.)

Maybe the current tabs in inactive groups could get a “medium highlight”, in between the active tab color and the background tab color?

0 Likes

#4

I was playing around with something to do this before. I cleaned it up some and put the plugin on GitHub. Essentially, you can create a new theme file (or just modify say…background color in one of your existing ones and save it to a separate file). Then use the on_activated and on_deactivated listeners to change the theme of the view. Nothing is saved to your preferences, it just changes the theme for the current view. Haven’t really done any good testing on it, so if things come up, let me know.

Anyways, maybe it will help you.

github.com/skuroda/ActiveViewTheme

0 Likes

#5

Thanks, it seems works somehow, but modal window with errors very annoying - it completely block editor, you should probably change errors output to console.

0 Likes

#6

Sorry about that, meant to change that. Was being lazy and didn’t want to open the console when I was working with it, but meant to change that back. Fixed though, so if you haven’t changed it yourself, go ahead and do a pull.

0 Likes

#7

I also highly recommend Origami: github.com/SublimeText/Origami
It has convenient commands for making new panes and moving around, and it automatically highlights the current pane for you. You don’t have to make any custom themes and it works with Sublime Text’s color scheme picker menu.

0 Likes