Sublime Forum

Force keyboard focus to stay with text pane

#1

I just updated to Sublime Text 4142, and it’s broken a small part of my workflow. Sometimes I’ll select a passage of text in one file, click to another file in the Open Files sidebar, reference something or copy some text, click back to the file where I’d made a selection, and want to paste or start typing immediately. In the previous version this worked fine, but now the act of clicking in Open Files seems to give it keyboard focus, and I can’t find a way to refocus the text pane without clicking, which resets the text I had selected. I have to make careful note of where I was and reselect it before I can paste or start typing again.

I poked around in settings for a way to revert to the old behavior, or at least a keybind I could use to change focus without losing my selection, and couldn’t find anything. Is there some way to do either of those things that I haven’t found?

0 Likes

#2

Could you please file a bug report about it at https://github.com/sublimehq/sublime_text/issues?

0 Likes

#3

Sure: https://github.com/sublimehq/sublime_text/issues/5688

I’ve found two temporary workarounds since I posted this - I can right click to change open files and cancel the context menu, which puts keyboard focus where I want it, or I can left click the tab above the open document to move keyboard focus to it. Both are awkward and require extra steps, but they at least allow me to preserve my selection.

1 Like