atom-react
atom-react copied to clipboard
Shortcut keys for various actions
I am trying to find out how can I add shortcut for reformatting or re-indenting. I couldn't find anything in the official document. Please update me on how I can add a shortcut for these options. Thanks in advance.
check this out https://github.com/orktes/atom-react/blob/master/menus/edit.cson#L25
you can assign it to atom keymap
atom -> Keymap...
then add necessary binding, for ex:
'atom-text-editor':
'cmd-alt-l': 'react:reformat-JSX'