Sublime Use Tips
1: Install a beautiful programming font
http://pan.baidu.com/s/1xMex9 Download "Program writing font –yahei Consolas Hybrid",
Double-click Install
2: Extract sublime into your program directory, such as D:/programe files/
3:ctrl+b Open the browser if you have installed Apache,nginx etc and assume that your www directory is d:www
Edit Sublime text/data/packages/user/open_broswer.py
Url_map = {
' D:www ': ' http://localhost/',
}
Attention D:www should be the real directory for your localhost point
And then!!
Click-->preferences->key bindings->user
In the appearance of the interface, add the following content (if there is already there is no need to add):
[
{"Keys": ["Ctrl+b"], "command": "Open_browser"}
]
4: Install PHP syntax prompts (you can configure this step when you learn PHP)
Toolbars: Preferences->package Settings->sublimelinter->settings-user
{"Sublimelinter": true,
"Sublimelinter_executable_map":
{
"PHP": "D:ampphpphp.exe" #把左边的地址替换为你实际的php the address of an. exe
}
}
Shortcut keys for 4:sublime
Ctrl+l Select entire line (Hold-continue select the downward)
Ctrl+kk from the cursor to the end of the line
Ctrl+shift+k Delete whole line
Ctrl+shift+d the entire row of the copy cursor, inserted before the row
Ctrl+j merge rows (multiple rows that need to be merged are selected)
Ctrl+ku to uppercase
CTRL+KL Change to lowercase
CTRL+KL Change to lowercase
Ctrl+d selection (Press-Hold-continue to select the next same string)
Ctrl+m the cursor to the beginning or end of the parentheses.
Ctrl+shift+m Select the contents of parentheses (press-and-continue to select the parent bracket)
ctrl+/annotation entire line (such as selected content, same as "ctrl+shift+/" effect)
ctrl+shift+/Comments Selected Content
Ctrl+space Auto Complete (Win and System shortcut key conflict, need to modify)
Ctrl+z Revocation
Ctrl+y Recovery undo
Ctrl+shift+v paste and automatically indent (other brother write, the actual Test win system automatically indent invalid)
The ctrl+m cursor jumps to the corresponding bracket
ALT +. Close Current label
Ctrl+shift+a Select cursor position parent tag to child
Ctrl+shift+[Folding Code
ctrl+shift+] Expand Code
Ctrl+kt Collapse Properties
Ctrl+k0 expands all
Ctrl+u Soft Undo
Ctrl+t Word Interchange
Ctrl+enter after inserting rows
Ctrl+shift Enter insert Row before
Ctrl+k BACKSPACE removed from the cursor to the beginning of the line
Ctrl+shift+up and Upside Swap
Ctrl+shift+down and downlink swaps
Shift+tab to remove indentation
tab indent
F9 row sort (by A-Z)