Auto-indent new line when hitting enter to expand one-line tag in HTML
问题 I would like to have this work flow working with HTML in Sublime Text 2: Create HTML tag (e.g. ctrl + shift + W) TAB (putting the cursor in the content area) ENTER Resulting with this (the word "HERE" indicates where the cursor should be): <p> HERE </p> But instead this is what I get (the word "HERE" still indicating the cursor's position): <p> HERE</p> Which demands you to ENTER (again) ARROW-UP + TAB ARROW-UP + TAB (a second time) 回答1: Try adding the following in your user key bindings. {