-
Notifications
You must be signed in to change notification settings - Fork 299
Ctrl+PageUp/Ctrl+PageDown bindings don't work #404
Comments
Thanks for the issue! There are a few places where we are hard-coding keybindings in the code (while working on a full solution for #20). Out of the box, They are hardcoded here in
For the
|
@extr0py I think we should have a list of Oni commands based on object lookup defined by key mappings. This would make it so that you could define oni operations in your config.js and then have them mapped to a fast object lookup. This way we can avoid if-statements piling up and not have any hardcoding of keys. |
@bert88sta - 👍 , I agree, this seems like a natural time to even bring in a |
I don't know how we'd return the functions though given that there are
quite a few objects/modules. We could construct it at the beginning of
index.tsx, but I'm not sure that would be optimal
On Apr 27, 2017 12:09 PM, "extr0py" ***@***.***> wrote:
@bert88sta <https://github.com/bert88sta> - 👍 , I agree, this seems like
a natural time to even bring in a keybindings.js so we can stop baking in
commands and start having them be configurable. This would remove a large
chunk of if-statements especially in index.tsx.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#404 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AICBCfDoWhuHp_0vCWmXk2eiXncvOnh3ks5r0L3EgaJpZM4NIsWO>
.
@extr0py : any ideas?
|
With PR #633 , you can now opt-out of the default pageup/pagedown behavior. You'll need to add these to the
More information on keyboard bindings here: https://github.com/extr0py/oni/wiki/Configuration#keyboard-bindings |
I'll close this for now, but let me know if you have any questions, or feel free to reopen if this doesn't solve the problem. |
I have bindings like this;
But only these works in the Oni:
The text was updated successfully, but these errors were encountered: