hammerspoon tilin', rvm fixin'
This commit is contained in:
parent
1285e535bc
commit
57577be6d5
5 changed files with 24 additions and 1 deletions
1
mac-files/.hammerspoon/hs/tiling
Submodule
1
mac-files/.hammerspoon/hs/tiling
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 7609ad7802e24e453088aecf984126f6d5d6a593
|
||||
|
|
@ -1,11 +1,27 @@
|
|||
--------------------------------------------
|
||||
-----------------------------------------------
|
||||
-- Set up
|
||||
-----------------------------------------------
|
||||
|
||||
local tiling = require "hs.tiling"
|
||||
local hotkey = require "hs.hotkey"
|
||||
local hyper = {"shift", "cmd", "alt", "ctrl"}
|
||||
local mash = {"ctrl", "cmd"}
|
||||
|
||||
hs.window.animationDuration = 0
|
||||
|
||||
|
||||
-----------------------------------------------
|
||||
-- auto-tile commands
|
||||
-----------------------------------------------
|
||||
|
||||
hotkey.bind(mash, "j", function() tiling.cycle(1) end)
|
||||
hotkey.bind(mash, "k", function() tiling.cycle(-1) end)
|
||||
hotkey.bind(mash, "space", function() tiling.promote() end)
|
||||
hotkey.bind(mash, "f", function() tiling.goToLayout("fullscreen") end)
|
||||
hotkey.bind(mash, "f", function() tiling.goToLayout("fullscreen") end)
|
||||
hotkey.bind(mash, "r", function() tiling.goToLayout("main-vertical") end)
|
||||
hotkey.bind(mash, "c", function() tiling.goToLayout("columns") end)
|
||||
|
||||
-----------------------------------------------
|
||||
-- hyper d for left one half window
|
||||
-----------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue