Dynamic diagram showing 16 sublime text shortcut usage

Source: Internet
Author: User
Tags sublime text
After I did a demo containing some live coding, some viewers asked me how I operated so quickly. Of course there is no single answer, the answer is a bunch of simple shortcuts and a lot of practice combinations. In response to those queries, I felt it necessary to look at the shortcut keys I didn't want to think about and use every day.

Here's a featured list of 15 16 shortcuts (a custom shortcut), animated in GIF, which I use every day. Enjoy it!

(Translator Note: The original list of shortcut keys are OS X environment, in order to facilitate the Windows and Linux environment Child shoes Learning, the translator will note Windows and Linux corresponding shortcut keys)

Choose

Select the next occurrence of a selected item select all occurrences of a selected item select the start and end tags associated with the cursor select contents within the container (new) Select parentheses
Moving lines and text

Move up or down a row to copy rows or select items increase and decrease indentation
Cut and delete, copy and paste

Cut a row or checked item paste and keep indent with label wrap row or selected item remove unclosed container element
Text and number manipulation

Calculate mathematical expressions increment and decrement uppercase and lowercase
Annotation and alignment variables

Note Check items/rows aligntab custom shortcut keys
Select the next occurrence of a selected item: ⌘+ D

(Translator note: ctrl+d)

Place the cursor on a word and press ⌘+ D to select the word. Hold down ⌘ and press D multiple times to select the next occurrence of the currently selected item. By holding down the ⌘ and pressing D three times, the three identical text will be selected.



Select all occurrences of a selected item: CTRL +⌘+ G

(Translator note: ALT+F3)

Same as above, but it selects all occurrences in the file. Be careful with this, because it selects all occurrences of a file. .



Select the start and end tags associated with the cursor: ⌘+⇧+ K

(Translator Note: ctrl+shift+ ')

This is a magic weapon. Perhaps you want all the properties to remain the same, but just want to select the label. This shortcut key for you to do this will notice that you can manipulate multiple tabs at once. * Requires Emmet plugin



Select contents in container: CTRL + D

(Translator note: ctrl+shift+a)

If you place the cursor between the text and press the key above, the text will be selected, just like ⌘+ D. But press it again, select the parent container, and then press to select the parent container. * Requires Emmet plugin



Select the content in parentheses: ⌘+⇧+ Space

(Translator note: ctrl+shift+m)

This helps to select everything between parentheses. The same applies to CSS.



Move up or down: CTRL +⌘+↑ or ↓

(Translator Note: ctrl+shift+↑ or ↓)



Copy rows or checked items: ⌘+⇧+ D

(Translator Note: ctrl+shift+d) If you have selected the text, it will copy your selected items. Otherwise, placing the cursor on the line will copy the entire row.


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.