Please forgive me as I'm sure this has been asked before, but my Google fu has really failed me here as I'm not sure what this feature is called.
Given text like this:
"Hello ~" with the cursor where the
~ is, is there a plugin that will ignore an inserted
" since it's already there?
Most IDEs and code editors have this feature (see: sublime, atom, vscode, visual studio, etc) by default and it helps when you type in (thanks to muscle memory) a single or double quote that's already there. If the algorithm isn't intelligent enough, this "feature" becomes a horrible impediment and a nightmare, but when done right, it can be quite handy (and invisible).