How to restore $$ autopair after 0.11.11 update?

Hello, everyone! Since version 0.11.11, typing a single $ no longer automatically creates $ with the cursor in between. It only autopairs when you have text selected first.

I just want the old behavior back - type $ once, get $ with my cursor in the middle.

Anyone know how to fix this?

Sorry for the formatting issue: I want to type $ and get $$ with the cursor in the middle

Hi @yv144, this was an intended feature change noted in the changelog for that version:

Noted here.

Markdown auto-pairing for =, ~ and $ now only works when you are selecting text. Auto-pairing as you type was an undesirable behavior that was quite annoying for these characters.

So no “fix” per say, but quick search showed two potential options for you:

Quick LaTeX (No longer maintained)

LaTeX Suite May have a feature similiar with the tab out feature, but I haven’t installed to test this.

2 Likes

Thank you! LaTeX suite helped me! Specifically, it has snippets (macros): mk is equivalent to typing in $$ and dm is equivalent to $$$$. Both snippets put the cursor in the middle! Perfect, thank you!

Have you tried the Easy typing plugin?

It allows auto pairing for $, $$, and more.

1 Like

Nope, but thanks for sharing!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.