From 88208e4bd1b639a601bc3c6d4f24ae3c0ac0a0ea Mon Sep 17 00:00:00 2001 From: Trevor Burnham Date: Sat, 23 Aug 2014 16:05:12 -0400 Subject: [PATCH] Restrict the default key binding to when a CSS syntax is active --- Default.sublime-keymap | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Default.sublime-keymap b/Default.sublime-keymap index 66af77f..993ccf4 100644 --- a/Default.sublime-keymap +++ b/Default.sublime-keymap @@ -1,3 +1,7 @@ [ - { "keys": ["ctrl+shift+c"], "command": "css_comb" } + { "keys": ["ctrl+shift+c"], "command": "css_comb", "context": + [ + { "key": "selector", "operator": "regex_match", "operand": "(text\\.plain|source\\.(css|scss|less))" } + ] + } ]