added: alternative shortcuts for command palette

This commit is contained in:
quenousimporte 2023-02-05 10:46:29 +01:00
parent 2136faf1ae
commit 175ea44ede
1 changed files with 4 additions and 0 deletions

View File

@ -2057,6 +2057,10 @@ function mainkeydownhandler()
fileindex = Math.max(fileindex, 0);
applyfileindex();
}
else if (event.ctrlKey && event.key == " " || event.key == "F2")
{
commandpalette();
}
else
{
commands.filter(c => c.shortcut)