Can the way Sublime Text 2 auto encloses selections in pairs be changed?

In Sublime Text 2 you can type a string and then highlight some section of the string like the following:

Then you can enclose the selected text in " by just typing a single " which gives you this:

When you do that the cursor ends up between d and ", I'd really like it to end up outside of the " at the end of the selected string.

Is something like this possible?


This isn't a feature I use, but the following seems to work ok. Create a snippet like this:


The $0 specifies the cursor exit point. Keybind it in your /Packages/User/Default (Linux).sublime-keymap file:

{ "keys": ["\""], "command": "insert_snippet", 
  "args": {"name": "Packages/User/quotes.sublime-snippet"}}

Need Your Help