const shortcutListener = combi((shortcut) => { $('.shortcut-input').value = shortcut }, true) $('.shortcut-input').addEventListener('keydown', shortcutListener)