You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because < and > are used as delimiters of multicharacter key names in macros (e.g. <esc>). <lt> and <gt> already exist to represent < and >, but we need to make sure those keypresses are actually recorded as such in order to fix this bug.
Summary
Recording a macro that contains a < or > indenting action fails with
Invalid macro: Unmatched '>'
orInvalid macro: '>' expected
Reproduction Steps
I tried this:
hx
Q>Q
, e.g. record a macro that indentsq
, you'll get the above errorI expected this to happen: The macro should run. In the example case, this means indenting the line again when pressing
q
Instead, this happened: The aforementioned error occurred.
Helix log
There wasn't any interesting output in the logs
Platform
Linux
Terminal Emulator
st 0.8.4
Helix Version
helix 22.05 (0a22148) (e.g. basically HEAD)
The text was updated successfully, but these errors were encountered: