Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Insert and match paired characters #266
When entering some characters, the paired character should be inserted after the cursor. Then if the character is pressed again (within a matching pair) it should be ignored and the cursor moved left. This is how Sublime for example acts (and how VS tries to acts but fails....).
EDIT more on this behaviour from Brian Terpstra's wishlist:
Also if there is text selected pressing a paired character should wrap the selection and move the cursor to the right of the second inserted pair character.