Vue Hotkeys
Smoothly implements keyboard shortcuts (hotkeys) in Vue applications.
Getting started
Install the component as a dependency of your project.
Import it to your Vue app.
Now use it on the Vue app.
Handling pressed keyboard shortcuts
Vue Hotkeys emits the triggered
event always a shortcut is pressed. So, everything you need to do is define a handler that will take an action depending on the pressed keys.