Skip to content

0.4.0

Choose a tag to compare

@jsmorabito jsmorabito released this 08 Jun 14:43
· 3 commits to master since this release

0.4.0

Features

  • editor-scope: Add continuous shortcuts mode for multi-shortcut execution

    • Enable sequential shortcut triggering without repeatedly pressing Esc
    • Add EditorScopeManager for handling editor-focused shortcuts
    • Configurable trigger key and visual border indicator
    • Settings UI for toggling and customizing editor scope mode
  • settings: Support toggle and update setting functionality

Bug Fixes

  • settings: Fix hotkey capture ignoring keypresses in the settings panel

    • Pressing keys while "Press hotkey..." was active would focus a nearby button instead of recording the key, because Obsidian's settings modal intercepted keyboard events before the plugin's handler could run
    • Fix: inject a hidden <input> element and focus it for the duration of capture; the browser routes all keyboard input to a focused input, bypassing modal-level navigation handlers
  • settings: Remove scissors icons from the community plugins nav label

  • editor: Fix issue where clicking space in editor couldn't trigger shortcuts mode

Refactor

  • architecture: Refactor whole component of hotkey listener into multiple specialized modules
    • Split monolithic HotkeyMonitor class into 10+ focused modules
    • Implement Facade pattern with ShortcutManager as coordinator
    • Modules: KeyParser, KeyboardListener, SequenceMatcher, ShortcutExecutor, FocusStateManager, etc.