Note the shortcut keys for the sublime Text Mac edition

Source: Internet
Author: User
Tags goto save file sublime text

    • It is recommended to use the latest version of Chrome/safari or Firefox browser to browse this page, otherwise the MAC keys may not display properly
    • The Latest Version of Chrome/safari or Firefox is recommeded.
Keypress Command
? + X Delete Line
? + ? + K Delete Line
? + ? Insert Line after
? + ? + ? Insert Line before
? + ? +↑ Move line/selection up
? + ? +↓ Move line/selection Down
? + L Select Line-repeat to select Next lines
? + D Select Word-repeat Select others occurrences
? J Closing parentheses Repeat to opening parentheses
? + K,? + K Delete from the cursor to end of line
? + K Delete from the cursor to end of line
? + [K] +? Delete from cursor to start of line
? + ] Indent Current line (s)
? + [ Un-indent Current line (s)
? + ? + D Duplicate Line (s)
? + J Join line below to the end of the
? + / Comment/un-comment Current Line
? + ? + / Block Comment Current selection
? + Y Redo, or repeat last keyboard shortcut command
? + ? + V Paste and indent correctly
? + Space Select Next Auto-complete Suggestion
? + Z Undo
? + Y Redo Insert Snippet
? + U Soft undo; Jumps to your last change before undoing change when repeated
? + ? + U Soft Redo (Movement redo)
? + T Swap letters or, better yet, words
--———————
Navigation/goto Anywhere
Keypress Command
? + P Quick-open Files by name
? + R Goto symbol, go to methods
? + G Goto line in current file
? + T Go to File
? + ? + P Go to Project
? + Left/right Go to Beginning or End of line
? + Left/right Move between words
? + L Scroll to Selection
? J Jump to matching Bracket
? + Tab Next file in Stack
? + ? + Tab Previous file in Stack
--———————
General
Keypress Command
? + ? + P Command prompt, command palette
? + K,? E Toggle Side Bar
? + ? + P Show Scope in status bar
? + ` Python Console
? + = Larger Text
? + - Smaller Text
? + ? + F Enter Full Screen
? + ? + ? + F Enter Distraction Free Mode
? + M Minimize
? + ? + M Minimize All
? + Q RECORD macro
? + ? + Q PLAY Back macro
--———————
Find/replace
Keypress Command
? + F Find
? + ? + F Replace
? + ? B Replace Next
? + ? A Find in Files
? + ? + G,? + G Find next occurrence of current word
? + ? + G Find previous occurrence of current word
? + ? + G Select all occurrences of the current word for multiple editing
? + I Incremental Find
? C Quick Add Next
? B Use selection for Find
? + ? B Use selection for replace
--———————
File operation
Keypress Command
? + N New file
? + O Open file
? + ? + T Reopen closed File
? + S Save file
? +? + S Save as ...
? + ? + S Save All
? +? + N New window
? +? + W Close window
? + W Close file
--———————
Selection
Keypress Command
? + ? +↑ Add Previous Line
? + ? +↓ ADD Next Line
? + A Select All
? + L Expand selection To Line
? C Expand selection to Word
? +? + M Expand selection to Brackets
? +? + J Expand selection to Indentation
? +? + A Expand selection to Tag
? +? + L Select lines, and then split it into the many selections, one per line
? + Left/right Add or remove Word selection
Esc Go from multiple selections to a single selection
--———————
Tabs
Keypress Command
? + ? + t Open Last Closed tab
? + ? +← Cycle up through tabs
? + ? + ? Cycle down through tabs
--———————
Split window
Keypress Command
? + ? + 2 Split View into columns
? + ? + 1 Revert view to single column
? + ? + 5 Set View to Grid (4 groups)
? + [NUM] Jump to group where num is 1-4
? + ? + [NUM] Move file to specified group where num is 1-4
? + [...] Select tab
--———————
Bookmarks
Keypress Command
? + F2 Toggle Bookmark
F2 Next Bookmark
? + F2 Previous Bookmark
? + ? + F2 Clear bookmarks
--———————
Text manipulation
Keypress Command
? + K,? + U Transform to uppercase
? + K,? + L Transform to lowercase
F5 Sort lines
? + F5 Sort lines (case sensitive)
? + ? + T Special characters
--———————
Xml/html
Keypress Command
? + ? + A Select content into tag
? + ? + . Close tag
? + ? + W Wrap the selected text in the HTML tag
--———————
Marks
Keypress Command
? + K + Space Set mark//? K For me
? + K + W Delete from the cursor to mark
? + K + A Select from the cursor to mark
? + K + G Clear Mark
--———————

REF:

    1. Http://www.sublimetext.com/docs/2/index.html
    2. Http://docs.sublimetext.info/en/latest/index.html
    3. https://tutsplus.com/course/improve-workflow-in-sublime-text-2/

Record the shortcut keys for the sublime Text Mac version

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.