diff --git a/data/core/keymap-macos.lua b/data/core/keymap-macos.lua index 0809615f..f631ff9c 100644 --- a/data/core/keymap-macos.lua +++ b/data/core/keymap-macos.lua @@ -18,8 +18,8 @@ local function keymap_macos(keymap) ["alt+k"] = "root:switch-to-down", ["ctrl+w"] = "root:close", - ["cmd+tab"] = "root:switch-to-next-tab", - ["cmd+shift+tab"] = "root:switch-to-previous-tab", + ["ctrl+tab"] = "root:switch-to-next-tab", + ["ctrl+shift+tab"] = "root:switch-to-previous-tab", ["cmd+pageup"] = "root:move-tab-left", ["cmd+pagedown"] = "root:move-tab-right", ["alt+1"] = "root:switch-to-tab-1", diff --git a/data/plugins/workspace.lua b/data/plugins/workspace.lua index 77efd7c9..9c1e20c8 100644 --- a/data/plugins/workspace.lua +++ b/data/plugins/workspace.lua @@ -12,7 +12,7 @@ local function workspace_files_for(project_dir) if not info_wsdir then local ok, err = system.mkdir(workspace_dir) if not ok then - error("cannot create workspace directory: %s", err) + error("cannot create workspace directory: \"" .. err .. "\"") end end return coroutine.wrap(function()