Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime text: How to disable automatching 'quotes'

Here's my problem: In common lisp, a 'single quote' is not used for strings and thus doesn't come in pairs with another quote, so sublime text auto-inserting another quote does more harm than good. How do I disable that option just for lisp and just for single quotes?

like image 695
umnikos Avatar asked Sep 12 '25 15:09

umnikos


1 Answers

Just add a keybinding to your keymap (which you can find in preferences, key bindings) and in the user tab paste this:

{
  "keys": ["'"], "command": "insert", "args": {"characters": "'"},
  "context":
  [
    { "key": "selector", "operator": "equal", "operand": "source.lisp" }
  ]
},

Let me know if you need anything else! I tested it in sublime text (I use it too)

like image 195
Yorki Bonilla Avatar answered Sep 14 '25 17:09

Yorki Bonilla



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!