mle icon indicating copy to clipboard operation
mle copied to clipboard

Add < and > to bracket toggle

Open NuclearKev opened this issue 2 years ago • 2 comments

I find this useful when working with html or jsx.

NuclearKev avatar May 13 '22 13:05 NuclearKev

Hi @NuclearKev, the reason I didn't add < and > is because then the editor would then attempt to match / underline random pairs of greater-than and less-than operators when cursoring around, which is undesirable. What do you think about adjusting cmd_move_until_forward/back and/or cmd_search to accept a static param, which would then enable you to make your own move-to-character or move-to-regex bindings? (Need to add cmd_rsearch(_next) for reverse searching while we're on the subject. That is way overdue.)

adsr avatar Jun 02 '22 02:06 adsr

I'd think adjusting the move_until functions would be best. However, this seems to me like something that could just be done in a lua extension.

NuclearKev avatar Jun 02 '22 12:06 NuclearKev