Okay, I’m looking to transition to Sublime Text 2 from Textmate. A couple issues that I need to work through:
-
When i open ST2 there are still the previously opened files in the side bar. How do i prevent it from remembering previous files?
-
I’d like to move the minimap to the left side of the window, i don’t like how it just hangs out there in the upper right corner and expands.
-
Snippets seem to be ignoring default text:
{engine name=“function” function=“linkPhone” phone="${1:${TM_SELECTED_TEXT:Phone Number}}" display="${2:${TM_SELECTED_TEXT:Phone Number}}"}
If i have text selected it seems to work fine, but otherwise it doesn’t print “Phone Number” in the spaces.
I’m guessing this is just a syntax difference between the editors. Is there a good page with all the syntax listed somewhere?
-
Not being able to run shell scripts is a huge drawback … i know it supports python, but … Any hope of shell script support in the future?
-
I’m confused on the insert_snippet syntax in the keybindings. How do you define which files the snippets come from? I tried this, modeling it after the macro insert:
{ “keys”: “alt+shift+p”], “command”: “insert_snippet”, “args”: {“file”: “Packages/User/ptag.sublime-snippet”}}
But that doesn’t seem to work.
- Does scoping the snippets work the same was as in textmate? that is can i do “source.php, text.html” to have the snippet be valid in both?