hotkey-mapper
v3.0.8
Published
A simply frontend hotkey-mapper
Downloads
19
Maintainers
Readme
Hotkey-mapper
a simply frontend hotkey-mapper
Usage
import hotkeyMapper from 'hotkey-mapper'
const unloadHotkeyMaps = hotkeyMapper({
"alt+i": () => console.log('init-task'),
"alt+t": () => console.log('tag'),
"alt+n": () => console.log('next-task'),
"alt+u": () => console.log('user'),
"ctrl+alt+c": () => console.log('code-action'),
});
await new Promise(r => setTimeout(r, 60e3)) // wait 1 min
unloadHotkeyMaps()
About
License
GPLv3 - The GNU General Public License v3.0 - GNU Project - Free Software Foundation
Author
Author: snomiao [email protected] Website: snomiao.com
Sponsors
- None yet.
Claim your sponsorship by donating snomiao <Email: [email protected]>
Contribute
The main repo is in here, any issue and PR's welcome.