Skip to content
This repository was archived by the owner on Mar 12, 2023. It is now read-only.

Key bindings customization #79

Merged
merged 10 commits into from
Dec 3, 2020
Merged

Key bindings customization #79

merged 10 commits into from
Dec 3, 2020

Conversation

0x2c7
Copy link
Owner

@0x2c7 0x2c7 commented Dec 3, 2020

  • Implement key binding customization with some built-in key combinations:
config.key_bindings = {
  RubyJard::Keys::CTRL_N        => 'jard filter switch',
  RubyJard::Keys::META_L        => 'list',
  RubyJard::Keys::CTRL_F1       => 'up',
  RubyJard::Keys::CTRL_SHIFT_F1 => 'down',
  RubyJard::Keys::META_D        => 'step',
  RubyJard::Keys::META_O  => 'step-out',
  RubyJard::Keys::CTRL_META_N   => 'next',
  RubyJard::Keys::META_F1       => 'continue',
  RubyJard::Keys::META_SHIFT_F1 => 'continue',
  RubyJard::Keys::CTRL_C        => 'interrupt'
}
  • Increase the resilience of the key binding matcher. Key press spamming is easy now.
  • Sync menu's action label to match customized key bindings.

Screenshot from 2020-12-03 13-06-03

@0x2c7 0x2c7 merged commit bb1a389 into master Dec 3, 2020
@0x2c7 0x2c7 deleted the refactor/improve-key-bindings branch December 3, 2020 07:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant