mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 01:01:26 +08:00
bind ctrl+enter to execute query in SQL console
This commit is contained in:
parent
9ca7223aea
commit
66652f2f0c
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ const sqlConsole = (function() {
|
||||||
|
|
||||||
$(document).bind('keydown', 'alt+o', showDialog);
|
$(document).bind('keydown', 'alt+o', showDialog);
|
||||||
|
|
||||||
|
queryEl.bind('keydown', 'ctrl+return', execute);
|
||||||
|
|
||||||
executeButton.click(execute);
|
executeButton.click(execute);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue