local plugin = {} function testAction() local window = berry.ui.createWindow("test window") end function plugin.init() berry.ui.createAction("test", testAction) berry.ui.addBind("test", "ctrl+d", "Test") end return plugin