Juno full screen shortcut masked by debugger

I’m running Ubuntu 18, Julia v1.1. In Juno, the F11 shortcut seems to be masked by a debugger shortcut. When my cursor focus is in an editor, if I hit F11, I get the following message:

Here are the default keybindings:

I tried changing the debugger keybinding in my “keymap.cson” file to the following:

'atom-text-editor[data-grammar="source julia"]':
  'f12': 'julia-debug:step-into-function'

That does add the F12 keybinding, but it doesn’t seem to remove the F11 keybinding… Does anyone now how to fix this?

F11 seems like a poor choice for a debugger keybinding, since it’s used to toggle full screen in nearly every Linux app.

You can add f11: 'unset!', IIRC. And the keybinding might not be the best default, but I’ve been told that it’s kinda standard in other visual debuggers or something…

Thanks. I’m not sure the correct syntax here. If I try this:

'atom-text-editor[data-grammar="source julia"]': 'f11': 'unset!'

'atom-text-editor[data-grammar="source julia"]': 'f12': 'julia-debug:step-into-function'

Then I get this error:

I guess I’ll have to dig into the Atom keybinding docs.

Should be

'atom-text-editor[data-grammar="source julia"]': 
  'f11': 'unset!'
  'f12': 'julia-debug:step-into-function'

instead.

1 Like

Cool, that works! Thanks!