Good day to all! Atom editor can not install my shortcut keys, in the file keymap.cson I write:
'body': 'alt-f1': 'core:save-all'
But this combination does not work when you click them the files are not saved. Tell me how to be.
Good day to all! Atom editor can not install my shortcut keys, in the file keymap.cson I write:
'body': 'alt-f1': 'core:save-all'
But this combination does not work when you click them the files are not saved. Tell me how to be.
This should work.
'atom-workspace': 'alt-f1': 'core:save'
This is all tabs
'body': 'alt-f1': 'window:save-all'
PS command save-all
works with window
keymap.cson
and everything should work - UmerJust looking at the source atom realized where the error. The correct code is:
'atom-text-editor': 'alt-f1': 'window:save-all'
It is necessary to use Window!
Source: https://ru.stackoverflow.com/questions/506097/
All Articles