You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although this was originally raised back in the early days (see #5), keyboard shortcuts were never fully customisable as you couldn't change the modifiers and were restricted to only alphanumeric keys (still probably wise).
However, inspired by user feedback, I'm going to look into doing this... again.
First off, I want Windows, Mac, and Linux users to get a native-feeling experience (i.e. Mac users getting their fancy symbols 😉). Also, at least one modifier is required and modifiers will be global and covers all templates. The "trigger key" will be the only thing bound to the template, as it is now. Perhaps the only change to the "trigger key" is to loosen its restrictions.
Here's a list of valid modifiers:
Ctrl
Alt
Shift
Option (OS X)
Command (OS X)
Alt Gr (?)
Finally, I'll probably create/find one or more external libraries to manage the setting and identification of shortcut modifiers. This would need to be injected as a content script beforecontent.coffee.
The text was updated successfully, but these errors were encountered:
I started looking at doing this myself as I found the challenge interesting (repo: hotkeys). I was going to base it on this script but have since found that John Resig himself has already done this but in the form of a jQuery plugin, jQuery.hotkeys. Although I wasn't wanting to depend on jQuery for this functionality since the content scripts interact with the DOM directly right now, I might experiment with using this plugin to suit our needs. I need to make sure that whatever solution is decided upon supports all operating systems and detects shortcuts trigger within input fields.
Also, although not as important at this stage, I can't decide how best to allow the user to configure their modifiers. One option is to do something fancy based on something along these lines or simply use drop down boxes (more likely).
Although this was originally raised back in the early days (see #5), keyboard shortcuts were never fully customisable as you couldn't change the modifiers and were restricted to only alphanumeric keys (still probably wise).
However, inspired by user feedback, I'm going to look into doing this... again.
First off, I want Windows, Mac, and Linux users to get a native-feeling experience (i.e. Mac users getting their fancy symbols 😉). Also, at least one modifier is required and modifiers will be global and covers all templates. The "trigger key" will be the only thing bound to the template, as it is now. Perhaps the only change to the "trigger key" is to loosen its restrictions.
Here's a list of valid modifiers:
Finally, I'll probably create/find one or more external libraries to manage the setting and identification of shortcut modifiers. This would need to be injected as a content script before
content.coffee
.The text was updated successfully, but these errors were encountered: