Check out the Textmate autocomplete plugin: https://github.com/alexstaubo/sublime_text_alternative_autocompletion
[quote]Better completion (in Textmate on a Ruby doc, hitting ‘#’ inside double quotes will automatically make it ‘#{}’. And typing ‘<%=’ will close it with a ‘%>’. These are small but wonderful improvements)
[/quote]
For the ruby completion, add this to your User key-bindings:
{
"args": {
"contents": "#{${0:$SELECTION}}"
},
"command": "insert_snippet",
"context":
{
"key": "selector",
"match_all": true,
"operand": "string.quoted.double.ruby",
"operator": "equal"
}
],
"keys":
"#"
]
},
This has been fixed in the lastest dev build.