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
When the cursor is in the middle of \( and \), pressing \ will move the cursor out of the pairs. This is especially inconvenient when writing a regex expression, e.g. when you want to type \d inside the \(\) pair.
Proposal: Don't move cursor out of the pair on the first matching char (in this case, \), either disable this behavior for multi-char pairs or check and move the cursor on the last matching char intead of the first matching char, e.g. remove preceding backslash and move the cursor out of the \(\) pair on ) if we detect \ in front of the cursor.
The text was updated successfully, but these errors were encountered:
For example, consider the following configuration:
When the cursor is in the middle of
\(
and\)
, pressing\
will move the cursor out of the pairs. This is especially inconvenient when writing a regex expression, e.g. when you want to type\d
inside the\(\)
pair.Proposal: Don't move cursor out of the pair on the first matching char (in this case,
\
), either disable this behavior for multi-char pairs or check and move the cursor on the last matching char intead of the first matching char, e.g. remove preceding backslash and move the cursor out of the\(\)
pair on)
if we detect\
in front of the cursor.The text was updated successfully, but these errors were encountered: