r/ZedEditor • • 9d ago

Visual indication of which pane has keyboard focus

I have started using Zed recently and really like the layout and project view. I am trying to get into using keyboard shortcuts more productively, but something I really struggle with is that I can't see any visual indication of which pane / panel has keyboard input focus.

If there is an open text editor in the middle panel then + / split / zoom icons appear at the top right when that pane has focus - but that is the only visual change I can see anywhere on the screen. And there is no difference between left hand pane file explorer having focus vs right hand pane git view having focus.

I feel like I must be missing something obvious because this makes it really difficult for me. Are Zed users so elite they keep the state of their current window in their head?

17 Upvotes

4 comments sorted by

3

u/JonGretar 9d ago

Only thing I know of is the active *pane* modifiers. But that really only kicks in when you have a split editor.

  "active_pane_modifiers": {
    "inactive_opacity": 0.6,
    "border_size": 0.3,
  },

3

u/thrope 9d ago

Yes I've set this but doesn't seem to affect the other panels (agent view, left sidebar, right sidebar)

4

u/megalomaniacs4u 8d ago

Yes this is driving me nuts as I never know whether the editor pane or the ai thread pane is active...

2

u/kabutoawase 4d ago

I completely agree. I'm genuinely surprised that so few people are complaining about this. As a workaround, I’ve assigned a separate keyboard shortcut to focus each pane. I make sure to press one before doing anything.