Open adrianthedev opened 3 months ago
Can we make shortcuts configurable? We offer a hash with the default ones and each user can modify if want
Yes. Through JS, they can attach handlers similar to how we do it now in avo.base.js
with the m m m
shortcut
Feature
We'd love to add keyboard shortcuts to Avo. We already have Mousetrap installed.
Initial shortcuts
We don't need to support "everything" in the initial iteration, so let's pick a few we know they might be highly used.
Shift + ?
Show a modal with the current shortcutsCommand + K
Open search (already supported but we want to show it there)command + return
Save buttoncommand + \
toggle sidebaresc
close modal. Ensure it really closes all modalsc
create button when on an index viewCurrent workarounds
Add them with custom JS.