Fixed
- Hint mode: pressing Ctrl/Shift/Alt/Meta alone clears labels — pressing any modifier key alone during hint mode dismissed the overlay. Root cause:
waitForHintKey()inhint-mode.tstreated modifier-only keydown events (wheree.keyis"Control","Shift", etc.) as unmatched first characters, triggering cleanup. The global key handler (global-key-handler.ts:228-234) already filtered modifier-only keys correctly. Fixed by adding the same guard at the top ofwaitForHintKey()'s handler. (#98)- Plugin:
src/ui/hint-mode.ts(waitForHintKeyhandler — modifier-key guard beforepreventDefault)
- Plugin:
- Hint mode: count prefix (
2F) shifts focus to new tab immediately — when using a count prefix (e.g.,2F) in non-editor context, the first hint activation shifted focus to the newly opened tab, causing the second round of hints to appear on the wrong tab. Root cause:hintActivate()withopenInNewPane=truecallsnavigateWithJump()orduplicateLeaf(), both of which focus the new leaf. The nextrun(count-1)then showed hints on the new tab. Fixed by saving the original active leaf beforewaitForHintKeywhen count > 1, and restoring focus to it after each activation before scheduling the next round. (#98)- Plugin:
src/ui/hint-mode.ts(createHintAction—originalLeafcapture +setActiveLeafrestore before recursiverun)
- Plugin:
- Hint mode:
<leader><leader>hignores count prefix — thehintModeaction defined viadefineActiondid not acceptActionArgs, soactionArgs.repeat(the count from vim's input state) was never passed toactivate(). Count prefix only worked in non-editor context (via global key handler). Fixed by accepting(_cm, actionArgs)and passingactionArgs.repeat. (#98)- Plugin:
src/main.ts(defineAction('hintMode')— acceptactionArgs, passrepeattoactivate)
- Plugin:
Tests
- 6 e2e tests in
test/specs/hint-mode.e2e.ts(issue #98): Ctrl alone keeps labels, Shift alone keeps labels, Alt alone keeps labels, Meta alone keeps labels, Ctrl then label char still narrows labels,2Fkeeps focus on original graph view leaf
Full Changelog: 0.92.1...0.93.0