trying to restore default keyboard focus

44 views
Skip to first unread message

Mark Bowron

unread,
Oct 12, 2024, 7:55:11 PM10/12/24
to BBEdit Talk
To click a filename in the sidebar and start typing immediately (instead of clicking again in the editor), I tried

defaults write com.barebones.bbedit ProjectsListCanAcquireKeyboardFocus -bool NO

and got

zsh: command not found: ProjectsListCanAcquireKeyboardFocus

Do I need to navigate to a specific directory first?

Rich Siegel

unread,
Oct 12, 2024, 8:03:10 PM10/12/24
to BBEdit Talk
On 12 Oct 2024, at 19:45, Mark Bowron wrote:

> To click a filename in the sidebar and start typing immediately (instead of
> clicking again in the editor), I tried

Here is the relevant excerpt from the BBEdit 15.0 change notes:

===

The Sidebar preferences have a setting: "Allow keyboard focus". When this is turned on (as it is by default, or if you previously used the expert preference), the sidebar lists in projects, and multi-document windows can acquire keyboard focus (by clicking or tabbing into them), and then conventional keyboard navigation gestures will change the selection.

With this change, sidebar behavior is changed somewhat (tl;dr: it's like Xcode):

the selection highlighting reflects whether or not the sidebar has keyboard focus; the background always reflects the activation state of the window.

When you click in the side bar to select something, keyboard focus goes there (assuming the preference in "Sidebar" is turned on, as it is by default now). Any single click will select a new file, but does not move keyboard focus to the text view. You can double-click on an item, press Return/Enter, or use the Tab key to move keyboard focus as desired.

===

Enjoy,

R.

--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <https://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

Mark Bowron

unread,
Oct 12, 2024, 8:56:52 PM10/12/24
to BBEdit Talk
Thanks for the quick reply.  I somehow managed to overlook "Allow Keyboard Focus" in "Sidebar" which solves my issue.  Mark
Reply all
Reply to author
Forward
0 new messages