This is my hammerspoon automation commands.
The following commands are for window management and common app launching.
I will be adding more in the future.
Please refer to this link .
Window arranging commands
Full Screen
Key Combination Screen Size
option + ctrl + ← Left Small
command + option + ← Left Medium
command + ctrl + ← Left Large
option + ctrl + → Right Small
command + option + → Right Medium
command + ctrl + → Right Large
command + ctrl + space Middle Medium
option + ctrl + space Middle Small
command + option + ctrl + space
option + ctrl + ↑ Top Small
command + option + ↑ Top Medium
command + ctrl + ↑ Top Large
option + ctrl + ↓ Bottom Small
command + option + ↓ Bottom Medium
command + ctrl + ↓ Bottom Large
command + option + space Middle Apple Style
Desktop spaces arranging commands
Key Combination Movement
command + option + shift + ← Move to left desktop
command + option + shift + → Move to right desktop
Key Combination Movement
command + ctrl + shift + ← Move to left screen
command + ctrl + shift + → Move to right screen
command + ctrl + shift + ↑ Move to top screen
command + ctrl + shift + ↓ Move to bottom screen
Key Combination Mode Apps Opened
command + option + 1 Coding Mode TextMate / Terminal / Safari
command + option + 2 iOS Development Mode Xcode / Safari
command + option + 3 Communication Mode Slack / Mail / Safari / Finder
command + option + 4 Search Mode Safari / Notion
command + option + 5 Research Mode Terminal / Safari / Notion / Mendeley Desktop
command + option + 6 Thesis Writing Mode TextMate / Terminal / Safari / Mendeley Desktop
command + option + 7 Entertainment Mode Safari
Key Combination Application
command + option + u Mail
command + option + i Todoist
command + option + o Calender
command + option + j Terminal
command + option + p Xcode
command + option + k Safari
command + option + l Finder
command + option + m Music