Fixed
- EasyMotion capital letter search not working — EasyMotion character search motions (
<leader><leader>s,<leader><leader>f, etc.) failed when typing a capital letter (Shift+key) as the search character. ThewaitForKey()handler resolved on theShiftkeydown event (before the actual character key arrived), causing the motion to silently abort. Fixed by adding a modifier-key guard matching the existing pattern inwaitForLabel()—e.key.length !== 1keys are now suppressed and ignored, keeping the handler alive for the real character. (#84)- Plugin:
src/easymotion/keypress.ts(waitForKeymodifier-key guard)
- Plugin:
Tests
- 6 unit tests in
test/unit/easymotion-keypress.test.ts:waitForKeyresolves single character keys and Escape, ignores Shift/Control/Alt/Meta modifier-only keys - 1 e2e test in
test/specs/easymotion-comprehensive.e2e.ts: EasyMotion bidirectional char search with capital letter (Z) input
Documentation
CHANGELOG.mdKNOWN_LIMITATIONS.md: Added capital letter fix to EasyMotion operator-pending sectionCONTRIBUTING.md: Updatedkeypress.tsdescription with modifier-key guarddocs/features/easymotion.md: Added note about capital letter support in find motions
Full Changelog: 0.80.0...0.81.0