Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

A list of Sublime Text shortcuts


May 24, 2021 Sublime Text Use the manual


Table of contents


Shortcuts Cheatsheet

I've put the Sublime Text that appears in this article here by type for review.

General

  • The cursor ←→ up and down, pay attention not to KJHL!
  • Alt: Call up the menu
  • Ctrl s Shift s P: Call Out Command Palette
  • Ctrl s': Call up the console

Editing

  • Ctrl and Enter: Add a new line below the current line and jump to the line
  • Ctrl s Shift s Enter: Add a row above the current line and jump to that line
  • Ctrl ←/→: Move word for word
  • Ctrl and Shift ←/→ word-by-word selection
  • Ctrl s
  • Ctrl and Shift move the current line

Select

  • Ctrl s D: Select the word in which the current cursor is located and highlight all the places where the word appears, again Ctrl s D select the next position where the word appears, skip using Ctrl plus K, fall back with Ctrl plus U, and exit multiple editing with Esc
  • Ctrl s Shift s L: Break up the currently selected area
  • Ctrl and J: Merge the currently selected areas into one row
  • Ctrl and M: Switch between the opening and ending brackets
  • Ctrl s Shift s M: Quickly select what's in parentheses
  • Ctrl s Shift s J: Quickly select content that is indented with
  • Ctrl, Shift, Space: Quickly select the contents of the current scope

Find and Replace (Finding and Replacing)

  • F3: Jump to the next location of the current keyword
  • Shift s F3: Jump to the last position of the current keyword
  • Alt s F3: Check all locations where the current keyword appears
  • Ctrl and F/H: Standard Lookup/Replacement, after which:
  • Alt-C: Switch case-sensitive mode
  • Alt and W: Switch the whole word matching mode
  • Alt and R: Switch regular matching mode
  • Ctrl s Shift s H: Replace the current keyword
  • Ctrl, Alt, Enter: Replace all keyword matches
  • Ctrl s Shift s F: Multi-file search and replacement

Jump

  • Ctrl s P: Jump to the specified file, enter the file name can:
  • Symbol Jump: Enter the @symbol to the location of the symbol symbol
  • Keyword Jump: Enter the s keyword jump to where keyword is located

  • : Line number jump: Enter: 12 jump to line 12 of the file.
  • Ctrl and R: Jump to the specified symbol
  • Ctrl and G: Jump to the specified line number

Window

  • Ctrl s Shift s N: Create a new window
  • Ctrl s N: Create a new label in the current window
  • Ctrl s W: Close the current label, which closes when there are no labels in the window
  • Ctrl s Shift s T: Restore the label that just closed

Screen

  • F11: Switch normal full screen
  • Shift s F11: Switch without interference with full screen
  • Alt s Shift s 2: Split left and right
  • Alt s Shift s 8: Split up and down the screen
  • Alt s Shift s 5: Split the screen up and down left and right
  • After splitping the screen, jump to the specified screen using the Ctrl plus number keys, and use the Ctrl plus Shift plus number keys to move the current screen to the specified screen