From e7d0709828979378f290a0cac4ec03b6fbee3692 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Tue, 8 Jun 2021 12:06:54 +0200 Subject: [PATCH 1/2] Fix error in workspace file error reporting --- data/plugins/workspace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() From ef48d5d48cce2839c8ecc6a5a663e4b956e1de01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Buckwalter?= Date: Tue, 8 Jun 2021 16:13:00 +0200 Subject: [PATCH 2/2] Use `ctrl` for next tab on macos Fixes #261. --- data/core/keymap-macos.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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",