cursorless
cursorless copied to clipboard
Allow more short versions for keyboard maps
If we have parentheses mapped to wp, then we'd like to be able to just press p after aw (for wrap). However, if we add wwp for escaped parentheses, that breaks, because they both end with p. It would be nice if wp could own p because it has fewer letters to drop?
Fwiw then we'd have an inconsistency because you might expect wp to be escaped parens, as they both just drop that leading w. Maybe we solve that by using wep instead of wwp, so then it shortens to ep. I believe we'd still need this fix tho if we wanted wp to shorten to p in that case, as they both end with p