Sublime Forum

Can't assign keyboard shortcut for F1 in ST3 Build 3144?

#1

It seems like it is impossible to assign a keyboard shortcut for F1 in ST3 Build 3144 (macOS Sierra)

I used to have this key binding

{
   "keys": ["f1"],
   "command": "dired",
   "args": { "immediate": true }
}

But in the last first it stopped working

on the other hand, when I change it something else, like:

{
   "keys": ["f3"],
   "command": "dired",
   "args": { "immediate": true }
}

It works.

0 Likes

#2

if you type sublime.log_input(True) Enter and sublime.log_commands(True) Enter in the ST console (View menu -> Show Console), what output do you get when pressing F1?

0 Likes

#3

When I set both of them to True, It prints nothing to the console.

On the other hand, when I set the shortcut to:

{ "keys": ["super+f1"], "command": "goto_definition" },

It prints:

key evt: super+f1
command: goto_definition
0 Likes

#4

it seems likely that some other application is intercepting the F1 key before ST can then

0 Likes

#5

Ohh! you are so right.
It was Keyboard Maestro that I installed recently.

Thanks, @kingkeith
I appreciate it.

0 Likes