mise ~/.config/mise/config.toml tools: crush@0.91.0

feat(config): add ALT+letter shortcuts for workspace focus and window movement
This commit is contained in:
Prad Nukala committed 2026-08-25 15:44:20 -04:00
1 parent 5248b02720
commit 9ad3226e90
2 files changed
+10 -28

No files matched your search

+10
View File
@@ -51,6 +51,16 @@ hl.unbind("SUPER + CTRL + K") -- was: Herdr keybindings
o.bind("SUPER + CTRL + J", "Next workspace", hl.dsp.focus({ workspace = "e+1" }))
o.bind("SUPER + CTRL + K", "Previous workspace", hl.dsp.focus({ workspace = "e-1" }))
-- Workspaces 1 to 5 on the home row of the left half: ALT to focus,
-- ALT + SHIFT to send the window there. No Omarchy default uses ALT with a
-- letter, so nothing is unbound.
for index, key in ipairs({ "Q", "W", "E", "R", "T" }) do
local workspace = tostring(index)
o.bind("ALT + " .. key, "Switch to workspace " .. workspace, hl.dsp.focus({ workspace = workspace }))
o.bind("ALT + SHIFT + " .. key, "Move window to workspace " .. workspace, hl.dsp.window.move({ workspace = workspace }))
end
hl.unbind("SUPER + O") -- was: pop window out
hl.unbind("SUPER + SHIFT + O") -- was: Obsidian (moved to SUPER + CTRL + ALT + O)
o.bind("SUPER + O", "Focus next monitor", hl.dsp.focus({ monitor = "+1" }))