Skip to content

Commit

Permalink
Document using ← / → in Window Layout Mode
Browse files Browse the repository at this point in the history
xref: #20
  • Loading branch information
jasonrudolph committed Mar 18, 2017
1 parent ff9165e commit c2e126b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ Use **control** + **s** to turn on Window Layout Mode. Then, use any shortcut be
- Use **.** to send window to lower right quarter of screen
- Use **space** to send window to center of screen
- Use **enter** to resize window to fill the screen
- Use **n** to send window to next monitor
- Use **n** to send window to the next monitor
- Use **** to send window to the monitor on the left (if there is one)
- Use **** to send window to the monitor on the right (if there is one)
- Use **control** + **s** to exit Window Layout Mode without moving any windows

[<img src="https://cloud.githubusercontent.com/assets/2988/22397114/715cc12e-e538-11e6-9dcd-b3447af0d9dd.png" alt="Window Layout Mode Keybindings (1)" width="400"/>](https://cloud.githubusercontent.com/assets/2988/22397114/715cc12e-e538-11e6-9dcd-b3447af0d9dd.png) [<img src="https://cloud.githubusercontent.com/assets/2988/22397111/45672fe6-e538-11e6-905d-5b0234e290bb.png" alt="Window Layout Mode Keybindings (2)" width="400"/>](https://cloud.githubusercontent.com/assets/2988/22397111/45672fe6-e538-11e6-905d-5b0234e290bb.png)
Expand Down
2 changes: 2 additions & 0 deletions hammerspoon/windows.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ end
-- . => send window to the lower right quarter of the screen
-- return => make window full screen
-- n => send window to the next monitor
-- left => send window to the monitor on the left (if there is one)
-- right => send window to the monitor on the right (if there is one)
--------------------------------------------------------------------------------

windowLayoutMode = hs.hotkey.modal.new({}, 'F16')
Expand Down

0 comments on commit c2e126b

Please sign in to comment.