Add option to run query with ctrl+enter (#5622)

This commit is contained in:
Beto Dealmeida 2018-08-13 21:43:57 -07:00 committed by Maxime Beauchemin
parent 536478e96d
commit 5c1d906976
1 changed files with 7 additions and 1 deletions

View File

@ -99,11 +99,17 @@ class SqlEditor extends React.PureComponent {
getHotkeyConfig() {
return [
{
name: 'runQuery',
name: 'runQuery1',
key: 'ctrl+r',
descr: 'Run query',
func: this.runQuery,
},
{
name: 'runQuery2',
key: 'ctrl+enter',
descr: 'Run query',
func: this.runQuery,
},
{
name: 'newTab',
key: 'ctrl+t',