Modal keybindings environment management. Just an wrapper of hs.hotkey.modal
.
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/ModalMgr.spoon.zip
Signature | ModalMgr:activate(idList, [trayColor], [showKeys]) |
---|---|
Type | Method |
Description | Activate all modal environment in |
Parameters |
|
Returns | |
Source | Source/ModalMgr.spoon/init.lua line 174 |
Signature | ModalMgr:deactivate(idList) |
---|---|
Type | Method |
Description | Deactivate modal environments in |
Parameters |
|
Returns | |
Source | Source/ModalMgr.spoon/init.lua line 205 |
Signature | ModalMgr:deactivateAll() |
---|---|
Type | Method |
Description | Deactivate all active modal environments. |
Parameters |
|
Returns | |
Source | Source/ModalMgr.spoon/init.lua line 224 |
Signature | ModalMgr:new(id) |
---|---|
Type | Method |
Description | Create a new modal keybindings environment |
Parameters |
|
Returns | |
Source | Source/ModalMgr.spoon/init.lua line 57 |
Signature | ModalMgr:toggleCheatsheet([idList], [force]) |
---|---|
Type | Method |
Description | Toggle the cheatsheet display of current modal environments's keybindings. |
Parameters |
|
Returns | |
Source | Source/ModalMgr.spoon/init.lua line 126 |