Sublimetext2 shortcut keys

Source: Internet
Author: User

CTRL + Shift + W: Close sublime and close all open files
CTRL + N: create a file
CTRL + S: Save
CTRL + Shift + S: Save
CTRL + F4: Close the file
CTRL + W: Disable
F11: Switch to full screen status
Backspace: delete left
Shift + backspace: delete on the left
CTRL + Shift + backspace: delete all on the left
Delete: Delete the right
CTRL + Shift + Delete: delete all on the right
Enter: insert
Shift + enter: insert
CTRL + Z: undo
CTRL + Shift + Z: redo
CTRL + Shift + V: paste and format
Shift + Delete: Cut
CTRL + insert: Copy
Shift + insert: Paste
CTRL + X: Cut
CTRL + C: Copy
CTRL + V: Paste
Shift + home: select to the beginning of the line
Shift + end: select to the end of the row
CTRL + home: Move to the header
CTRL + end: Move to the end of the page
CTRL + Shift + home: select to the top line
CTRL + Shift + end: select to the end of the page
CTRL +]: Indent
CTRL + [: Do not indent
CTRL + L: select a row. You can add and select the next row in sequence.
CTRL + D: select a word. If you repeat a word, you can add and select the next same word.
CTRL + P: Search for files in the project
CTRL + Shift + P: Open the Command Panel
CTRL + Pagedown: Next view (Visual position)
CTRL + Pageup: previous view
CTRL + M: Jump to the corresponding brackets
CTRL + G: the row to jump
CTRL + F: Search
CTRL + H: Find and replace
F3: Next match
Shift + F3: previous match
CTRL + F3: Next match
CTRL +/: Switch the comment status of the current row
CTRL + Shift + [: collapse (CODE)
CTRL + Shift +]: Do not fold
Shift + enter: forward lookup
Alt + enter: Find all
Shift + enter: Find the previous
Alt + enter: Find all
CTRL + ALT + enter: replace all
Shift + enter: Find Prev
Alt + enter: Find all

==================================
CTRL + Shift + N: open a new sublime
CTRL + Shift + T: re-open the recently closed file
CTRL + k, CTRL + B: Switch the display status of the sidebar
Shift + F11: Do Not Disturb Mode Status Switch
CTRL + Y: Redo or repeat
CTRL + u: Soft undo
CTRL + Shift + u: Soft redo
Left: Move
Right: Move
Up: Mobile
Down: Move
Shift + left: Move and select
Shift + Right: Move and select
Shift + up: Move and select
Shift + down: Move and select
CTRL + left: move according to the \ W rule (skip)
CTRL + Right: press the \ W rule to move (skip)
CTRL + Shift + left: move according to the \ W rule and select (skip)
CTRL + Shift + Right: move according to the \ W rule and select (skip)
Alt + left: move by word
Alt + Right: move by word
Alt + Shift + left: move by word and select
Alt + Shift + Right: move by word and select
CTRL + ALT + up: Select multiple rows for editing
CTRL + ALT + down: Select multiple rows for editing
Pageup: Move
Pagedown: Move
Shift + Pageup: Move + select
Shift + Pagedown: Move + select
Home: Move to the beginning of the line
End: Move to the end of the row
CTRL + up: Scroll row
CTRL + down: Scroll row
CTRL + tab: Next view on the stack (Opening order)
CTRL + Shift + tab: the first view in the stack
CTRL + A: select all
CTRL + Shift + L: select multi-row Edit
Escape: single choice
Escape: Clear fields
Escape: Clear fields
Escape: hidden panel
Escape: Hide overlay
Escape: Hide auto complete
Tab: insert best completion
Tab: insert best completion
Tab: replace completion with next Completion
Tab: reindent
Tab: Indent
Tab: Next Field
Tab: commit completion
Shift + tab: insert
Shift + tab: unindent
Shift + tab: unindent
Shift + tab: unindent
Shift + tab: Prev Field
Insert: toggle Overwrite
CTRL + k, CTRL + D: Find under expand skip
CTRL + Shift + space: Expand Selection
CTRL + Shift + M: Expand Selection
CTRL + Shift + J: Expand Selection
CTRL + Shift + A: Expand Selection
Alt +.: Close tag
CTRL + Q: toggle record macro
CTRL + Shift + Q: Run macro
CTRL + enter: Run macro file
CTRL + Shift + enter: Insert a new row before the current row
Enter: commit completion
CTRL + ALT + P: prompt select project
CTRL + R: Go to Method
CTRL +;: Show overlay
CTRL + I: Show panel
CTRL + Shift + I: Show panel
CTRL + Shift + H: Find and replace the next
CTRL + Shift + F3: Find under Prev
Alt + F3: Find all under
CTRL + E: slurp find string
CTRL + Shift + E: slurp replace string
CTRL + Shift + F: Show panel
F4: Next result
Shift + F4: Prev result
F6: toggle setting
CTRL + F6: Next misspelling
CTRL + Shift + F6: Prev misspelling
CTRL + Shift + up: swap line up
CTRL + Shift + down: swap line down
CTRL + backspace: delete word
CTRL + Shift + backspace: Run macro file
CTRL + Delete: delete word
CTRL + Shift + Delete: Run macro file
CTRL + Shift +/: Switch the current location annotation status
CTRL + J: select the label content and append the subsequent row to the end of the row.
CTRL + Shift + D: duplicate line
CTRL + ': Show panel
CTRL + space: auto complete
CTRL + space: replace completion with auto complete
CTRL + ALT + Shift + P: show scope name
F7: Build
CTRL + B: Build
CTRL + Shift + B: Build
CTRL + break: Exec
CTRL + T: transpose
F9: Row sorting
CTRL + F9: Sort rows
// Auto-pair quotes
\: Insert snippet
\: Insert snippet
\: Move
Backspace: Run macro file
// Auto-pair single quotes
': Insert snippet
': Insert snippet
': Move
Backspace: Run macro file
// Auto-pair brackets
(: Insert snippet
(: Insert snippet
): Move
Backspace: Run macro file
// Auto-pair square brackets
[: Insert snippet
[: Insert snippet
]: Move
Backspace: Run macro file
// Auto-pair curly brackets
{: Insert snippet
{: Insert snippet
}: Move
Backspace: Run macro file
Enter: Run macro file
Shift + enter: Run macro file
CTRL + 1: Focus Group
CTRL + 2: Focus Group
CTRL + 3: Focus Group
CTRL + 4: Focus Group
CTRL + Shift + 1: Move to group
CTRL + Shift + 2: Move to group
CTRL + Shift + 3: Move to group
CTRL + Shift + 4: Move to group
CTRL + 0: focus side bar
Alt + 1: select by index
Alt + 2: select by index
Alt + 3: select by index
Alt + 4: select by index
Alt + 5: select by index
Alt + 6: select by index
Alt + 7: select by index
Alt + 8: select by index
Alt + 9: select by index
Alt + 0: select by index
F2: Next bookmark
Shift + F2: Prev bookmark
CTRL + F2: Mark status Switch
CTRL + Shift + F2: Clear bookmarks
Alt + F2: select all bookmarks
CTRL + Shift + K: Run macro file
Alt + Q: Wrap lines
CTRL + k, CTRL + u: upper case
CTRL + k, CTRL + L: lower case
CTRL + k, CTRL + space: Set mark
CTRL + k, CTRL + A: select to mark
CTRL + k, CTRL + W: Delete to mark
CTRL + k, CTRL + X: swap with Mark
CTRL + k, CTRL + Y: Yank
CTRL + k, CTRL + K: Run macro file
CTRL + k, CTRL + backspace: Run macro file
CTRL + k, CTRL + G: Clear bookmarks
CTRL + k, CTRL + C: Show at Center
CTRL ++: Increase font size
CTRL + =: Increase font size
CTRL + keypad plus: Increase font size
CTRL +-: decrease font size
CTRL + keypad minus: decrease font size
Alt + Shift + W: insert snippet
CTRL + k, CTRL + 1: fold by level (CODE), number is layer level
CTRL + k, CTRL + 2: fold by level (CODE), number is layer level
CTRL + k, CTRL + 3: fold by level (CODE), number is layer level
CTRL + k, CTRL + 4: fold by level (CODE), number is layer level
CTRL + k, CTRL + 5: fold by level (CODE), number is layer level
CTRL + k, CTRL + 6: fold by level (CODE), number is layer level
CTRL + k, CTRL + 7: fold by level (CODE), number is layer level
CTRL + k, CTRL + 8: fold by level (CODE), number is layer level
CTRL + k, CTRL + 9: fold by level (CODE), number is layer level
CTRL + k, CTRL + 0: unfold all
CTRL + k, CTRL + J: unfold all
CTRL + k, CTRL + T: Fold tag attributes
Context Menu: Context Menu
Alt + C: toggle case sensitive
Alt + R: toggle RegEx
Alt + W: toggle Whole word
Alt + A: toggle preserve case
// Search for panel Key Binding
Enter: Search backward
// Replace the button binding of the Panel
Enter: Find the next
// Incremental find panel key bindings
Enter: Hide panel

Sublimetext2 shortcut keys

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.