Sublime Text Common shortcut keys

Source: Internet
Author: User

Share the use of yourself, common and used sublime.

You can open images directly in sublime, similar to opening HTML files, which is handy for front-end developers.

(1) Ctrl + N open the text editor.

(2) ctrl+shift+p Open the command mode, change the syntax mode, you can also use the mouse to select the grammar mode by the lower right corner. Example: 650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7A/92/wKiom1aspSKR3nRnAAAFAQRhOl8452.jpg "title=" Click on the lower right corner of the HTML where you can make the syntax mode toggle "alt=" Wkiom1aspskr3nrnaaafaqrhol8452.jpg "/>

(3) Go to anything function, Quick find: ctrl+p


(4) Multi-line cursor function. Ctrl+d, select multiple lines of the same thing, make uniform changes, very use, fast. Ctrl+k,ctrl+d can make skip choices. ALT+F3 can be multi-line selectable

(5) Ctrl+shift+d Copy the text many times.

(6)! : Indicates HTML5, under the function of Emmet plug-in,! +ctrl+e can quickly form the following pattern, reducing write code

650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M02/7A/92/wKioL1asp6WzNQPqAAA5r9IfBco397.jpg "title=" 1.jpg " alt= "Wkiol1asp6wznqpqaaa5r9ifbco397.jpg"/>

(7) Ctrl+enter adds a row below the current line, ctrl+shift+enter a row above the current line.

(8) Under the Emmet plug-in function, Ul>.item$*10+ctrl+e can quickly write out 10 lists,

650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M00/7A/92/wKioL1asqLCzOgJ9AAEuQ3Ioy84895.jpg "title=" 1.jpg " alt= "Wkiol1asqlczogj9aaeuq3ioy84895.jpg"/>

The. Item represents the class name, and $ represents a number of 10 *10. Similarly, you can quickly write a tag inside.

(9) {} represents the text content of the output. For example H2{sublime very useful}+ctrl+e can be quickly generated

Package control installs plug-ins.

Sublime Text Common shortcut keys

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.