mgmeyers / obsidian-smart-typography

Converts quotes to curly quotes, dashes to em dashes, and periods to ellipses
GNU General Public License v3.0
250 stars 11 forks source link

Obsidian's built in Auto-pair feature slightly breaks #56

Open JacobJFM opened 2 months ago

JacobJFM commented 2 months ago

Much like the behaviors for parentheses and brackets, I would like to be able to move my cursor past the auto-generated closing quotation mark by simply typing another quotation mark, instead of having to move my cursor past it.

In other words, Obsidian's Auto-pair setting creates a closing bracket or quotation mark after the cursor whenever an opening bracket or quotation mark is typed. When the "curly quotes" option is not enabled, I am able to move my cursor past the closing quotation mark by typing another quotation mark, but when the option is enabled, the text editor does not recognize the curly quote as being the same character (this is my assumption of the reasoning for the defect) and typing another quotation mark simply adds another quotation mark where my cursor is.