session: add mod+o shortcut to open a session file

This commit is contained in:
jean-emmanuel 2018-10-19 16:16:48 +02:00
parent bce85a392b
commit 9c0d536079
3 changed files with 7 additions and 0 deletions

View file

@ -205,6 +205,11 @@ var Editor = class Editor {
sessionManager.save()
})
keyboardJS.bind('mod + o', (e)=>{
e.preventDefault()
sessionManager.browse()
})
keyboardJS.bind('mod + e', (e)=>{
e.preventDefault()
if (this.enabled) {