Sublime Text 2 Getting started with the superb skills

Source: Internet
Author: User
Tags install php learn php lowercase sublime text

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.