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.

N.N.
  • 1,381
  • 2
  • 17
  • 34
Juanito Fatas
  • 659
  • 1
  • 5
  • 9

3 Answers3

64

Set this in your User settings

"auto_match_enabled" : false
Jasper Bekkers
  • 776
  • 5
  • 4
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"
    }
} 
pelms
  • 9,251
  • 12
  • 58
  • 77
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

Sam Rastin
  • 130
  • 4
  • Thanks Sam! it should be there. But I set "autoMatchEnabled":false @Global.sublime-settings, restart, still not working. – Juanito Fatas Feb 23 '12 at 02:33