Does the Atom Editor keyboard support function keys? Like f5

I installed keymap.csonwith this entry. In the palette, I see what F5is associated with this command, but clicking F5does not cause it

'.workspace .editor': 'F5': 'runner:run'

+4
source share
1 answer

Yes, Atom supports function keys. Key names are case sensitive, and the name F5is equal f5, note the lowercase "f". The following should work:

'atom-workspace atom-text-editor':
  'f5': 'runner:run'

, atom-workspace atom-text-editor atom-workspace, , , , Markdown , .

+5

Source: https://habr.com/ru/post/1548220/


All Articles