48

I have questions about turn off parenthesis matching. Does anyone know how to turn off parenthesis matching?

example:

When I type a (, it will automatically add ), becomes ().

It's pretty nice for editing plain text. But quite annoying while editing clojure files.

3 Answers 3

64

Set this in your User settings

"auto_match_enabled" : false
2
  • Can you make it a toggle switch? Aug 11, 2012 at 23:08
  • 11
    You'd be better off adding that line to the User settings (Preferences > Settings - User) rather than global so that they're not overwritten by updates.
    – pelms
    Oct 3, 2012 at 11:38
10

You can toggle this setting by adding a key binding to 'Preferences > Key Bindings - User'.
e.g. to make Ctrl+Shift+p toggle the setting, use:

{
    "keys": ["ctrl+shift+p"],
    "command": "toggle_setting",
    "args":
    {
        "setting": "auto_match_enabled"
    }
} 
2

It sounds like you need to change autoMatchEnabled to false under File Type Preferences to disable auto pairing. Read more about it: http://www.sublimetext.com/docs/file-type-preferences

1
  • Thanks Sam! it should be there. But I set "autoMatchEnabled":false @Global.sublime-settings, restart, still not working. Feb 23, 2012 at 2:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.