Placid on full screen and update docs

parent d614ae97
......@@ -23,18 +23,21 @@ git clone git@git.picodevelopment.nl:hendrikpeter/dotfiles-hammerspoon.git ~/.ha
This Hammerspoon config makes use of the MiroWindowManager. A fast and rich
window-manager. The following moves are possible:
- `hyper + k`: Move the active window up
- `hyper + j`: Move the active window down
- `hyper + h`: Move the active window left
- `hyper + l`: Move the active window right
- `hyper + G`: Maximize the width and height of the active window
- `hyper + k + j`: Maximize the height of the active window
- `hyper + h + l`: Maximize the width of the active window
- `placid + k`: Move the active window up
- `placid + j`: Move the active window down
- `placid + h`: Move the active window left
- `placid + l`: Move the active window right
- `placid + G`: Maximize the width and height of the active window
- `placid + k + j`: Maximize the height of the active window
- `placid + h + l`: Maximize the width of the active window
- `placid + Return`: Maximize current window to native full-screen mode
- `hyper + h`: Move the active window one "space" left and go to that space
- `hyper + l`: Move the active window one "space" right and go to that space
Combinations are possible. You can choose to move the window up with `k` and
left with `h` at the same time.
To "full-screen" a window press `hyper + Return`.
left with `h` at the same time, same goes for vertical.
Tapping directions multiple times will cycle through different window widths and
heights.
### ClipboardTool
Clipboard tool keeps track of previous records in your clipboard. Just copy
......@@ -43,7 +46,7 @@ the arrows on your keyboard to browse through records. Then hit Return to put
that old record back into your clipboard
### Vim
Vim navigation is love, Vim navigation is life.
Vim navigation is love, Vim navigation is life.
Hit `cmd + escape` to leave the normal OSX insert mode and use Vim key-bindings
to navigate around. You can get back into insert mode by pressing `A`, `a`,
`I`, `i` or `c`.
......
-- Window management Spoon and some extra config
-- ---------------------------------------------
local placid = placid or {"ctrl", "cmd"}
local hyper = hyper or {"ctrl", "alt", "cmd"}
-- Set current frontmostWindow to full-screen
hs.hotkey.bind(hyper, "return", function()
hs.hotkey.bind(placid, "return", function()
local win = hs.window.frontmostWindow()
win:setFullscreen(not win:isFullscreen())
end)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment