Sublime Forum

Vintage + Zen Issue with Colon Key

#1

Hi -

When both Vintage mode and the Zen Coding package are installed/enabled, there is a key-binding conflict with the colon (’:’).

To reproduce:
Type “:” (the Vim symbol to preface a command) while the cursor is in the first space of a line. A colon is printed into the file instead of being passed to the vim command line.

So far, I’ve only noticed this behavior in CSS files.

Let me know if there’s any work around! Thanks,

Adam

0 Likes

#2

Yeah there is a key binding for CSS files and zen coding you don’t really need. Head to:

Preferences > Package Settings > ZenCoding > Bindings > Key Bindings: Default and comment out this section:

{“doc”: “Override for the binding in CSS/*.sublime-keymap”,
“args”: {“contents”: “:”},
“command”: “insert_snippet”,
“context”: {“key”: “setting.auto_match_enabled”,
“operand”: true,
“operator”: “equal”},
{“key”: “selection_empty”,
“match_all”: true,
“operand”: true,
“operator”: “equal”},
{“key”: “selector”,
“match_all”: true,
“operand”: “source.css - meta.selector.css”,
“operator”: “equal”},
{“key”: “following_text”,
“match_all”: true,
“operand”: “^(?:\t| |\}|$)”,
“operator”: “regex_contains”}],
“keys”: “:”]},

That did the trick for me.

0 Likes