How would I Keybind the Live Preview File(index.html) as shown in image


#1

How would I Keybind the Live Preview File(index.html) as shown in image??

Thanks


#2

you can use init script

services.commands.addCommand({
    bindKey: "F1",
    name: "previewApplication",
    exec: function() {
        services.commands.exec("preview", null, {
            server: true,
            newTab: false
        });
    }
}, plugin)