I am trying Sublime Text 2 beta on both Windows and OSX. I’ve seen several bits of instructions on a page, post or thread but never a complete set of instructions for either OS.
I have no experience with Python and it seems that the one instruction that looked promising needed a command “hg” that I do not recognize. I’ve seen other instructions that say I should just copy the files into a folder named “ZenCoding” within “Packages” and then restart the editor. This does not help me either.
Could someone please type out clear instructions from start to finish for ST2
Update - Full Instructions and notes
- Go to bitbucket.org/sublimator/sublim … /downloads and download the default “branch” zip file
- Extract the zip and rename the folder to ZenCoding
- In Sublime use the Preferences > Browse Packages… (OSX) menu item to bring up your packages folder
- Drag the ZenCoding folder into the packages folder.
- Restart Sublime Text 2
- Open or create an HTML, PHP, ASP or other valid files with supported extension. Zen Coding will not work in empty, unsaved document.
- Use the following keystrokes to use Zen Coding for Sublime Text 2:
ctrl+space : expansion
ctrl+alt+shift+h : set_html_syntax_and_insert_skel(doctype=u'xt')
ctrl+alt+enter : zen_as_you_type()
ctrl+alt+enter : wrap_zen_as_you_type()
alt+shift+w : wrap_zen_as_you_type()
ctrl+shift+j : run_zen_action(action=u'split_join_tag', profile_name=None)
ctrl+j : run_zen_action(action=u'merge_lines')
ctrl+alt+9 : run_zen_action(action=u'decrement_number_by_01')
ctrl+9 : run_zen_action(action=u'decrement_number_by_1')
ctrl+alt+shift+9 : run_zen_action(action=u'decrement_number_by_10')
ctrl+alt+0 : run_zen_action(action=u'increment_number_by_01')
ctrl+0 : run_zen_action(action=u'increment_number_by_1')
ctrl+alt+shift+0 : run_zen_action(action=u'increment_number_by_10')
ctrl+alt+shift+= : run_zen_action(action=u'evaluate_math_expression')
ctrl+alt+shift+m : run_zen_action(action=u'update_image_size')
ctrl+shift+alt+6 : run_zen_action(action=u'encode_decode_base64')
f1 : zen_css_mnemonic()
f1 : zen_css_mnemonic(prop_value=True)
ctrl+shift+a : run_zen_action(action=u'match_pair_tagname')
ctrl+shift+n : run_zen_action(action=u'match_pair', direction=u'out', syntax=None)
ctrl+shift+t : run_zen_action(action=u'match_pair_inward')
ctrl+alt+n : run_zen_action(action=u'go_to_matching_pair')
ctrl+shift+u : run_zen_action(action=u'remove_tag')
enter : run_zen_action(action=u'insert_formatted_newline', mode=u'html')
ctrl+period : run_zen_action(action=u'next_edit_point')
ctrl+, : run_zen_action(action=u'prev_edit_point')
ctrl+shift+period : run_zen_action(action=u'select_next_item')
ctrl+shift+, : run_zen_action(action=u'select_previous_item')
ctrl+alt+shift+v : run_zen_action(action=u'reflect_css_value')
ctrl+alt+/ : run_zen_action(action=u'toggle_comment')
# : insert_snippet(contents=u' id="$1"')
# : insert_snippet(contents=u'id="$1"')
. : insert_snippet(contents=u' class="$1"')
. : insert_snippet(contents=u'class="$1"')