message: feat: save settings on CMD+S or CTRL+S (Fixes
diff: @@ -16,6 +16,10 @@ export interface Props {
  // TODO: Trigger onSave on CMD+S or CTRL+S
  export default class SettingsEditor extends React.Component<Props, {}> {
  + componentDidMount() {
  + window.addEventListener('keydown', this.handleKeydown, true)
  + }
  +
  render() {
  const { isConfig } = this.props
  return (
  @@ -41,6 +45,13 @@ export default class SettingsEditor extends React.Component<Props, {}> {
  </Wrapper>
  )
  }
  +
  + private handleKeydown = (e: KeyboardEvent) => {
  + if (e.key === 's' && e.metaKey) {
  + e.preventDefault()
  + this.props.onSave()
  + }
  + }
  }
  const backgroundColor = theme('mode', {
  