mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
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:
1 parent
5248b02720
commit
9ad3226e90
2 files changed
+10
-28
No files matched your search
@@ -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" }))
|
||||
|
||||
Reference in new issue
Block a user