Summary of Sublime Text 3 related resources

1. Theme and color scheme

> A full version of Theme + Color_Theme, please step here stx3-theme-and-color_theme

2. Plug-ins

2.1. Install Package Control

> All plug-ins are managed based on Package Control. Official address: Installation can be done in two ways:

  • Mode 1: Automatic Installation In Sublime Text, press ctrl + `or click the menu View > Show Console in turn, and enter the following command:

    import urllib.request,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( '' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
  • Mode 2: Manual installation

    • Click the menu Preferences > Browse Packages in turn... Open the directory Packages/
    • download Control.sublime-package And copy to Packages / directory
    • Restart Sublime Text

2.2. Common plug-ins

> Installation mode: > > Ctrl + Shift + P opens the Package Control command window, enters pip to return, and then enters the plug-in name to return, waiting for installation to complete. > > Note: Some plug-ins need to be restarted manually after installation.

3. Icons

Look directly here, please.

4. Shortcut keys

# General

: Move the cursor up and down, right and left. Note that it's not KJHL!?
Alt: Call out the menu
 Ctrl + Shift + P: Command and Palette
 Ctrl + `: Call out the console

# Editing

Ctrl + Enter: Add a new line below the current line and jump to that line
 Ctrl + Shift + Enter: Add a line above the current line and jump to that line
 Ctrl +/: Word-by-word movement
 Ctrl + Shift + /Word-by-word selection
 Ctrl +/Moves the current display area
 Ctrl + Shift + /Move the current line

# Selecting

Ctrl + D: Select the word where the cursor is currently located and highlight all the positions where the word appears. Ctrl + D again selects the next position where the word appears. In the process of multiple word selection, Ctrl + K is used to skip, Ctrl + U is used to retreat, and Esc is used to exit multiple editing.
Ctrl + Shift + L: Disperse the currently selected area
 Ctrl + J: Merge the currently selected areas into one row
 Ctrl + M: Switching between start and end parentheses
 Ctrl + Shift + M: Quickly select between parentheses
 Ctrl + Shift + J: Quick selection of indented content
 Ctrl + Shift + Space: Quickly select the content of the current scope (Scope)

# Finding & Replacing

F3: Jump to the next position of the current keyword
 Shift + F3: Jump to a location on the current keyword
 Alt + F3: Select all locations where the current keyword appears
 Ctrl + F/H: Standard lookup / replacement, and then:
Alt + C: Switching Case-sensitive mode
 Alt + W: Switching Whole matching Mode
 Alt + R: Switching Regex matching mode
 Ctrl + Shift + H: Replace the current keyword
 Ctrl + Alt + Enter: Replace all keyword matches
 Ctrl + Shift + F: Multi-file Search & Replacement

# Jumping

Ctrl + P: Jump to the specified file and enter the file name.
@ Symbol Jump: Enter @symbol to jump to where the symbols are located
 # Keyword Jump: Enter # keyword to jump to where keyword is located
 Line Number Jump: Input: 12 Jump to Line 12 of the file.
Ctrl + R: Jump to the specified symbol
 Ctrl + G: Jump to the specified line number

# Window

Ctrl + Shift + N: Create a new window
 Ctrl + N: Create a new label in the current window
 Ctrl + W: Close the current label, which closes when there is no label in the window
 Ctrl + Shift + T: Restore the label just closed

# Screen

F11: Switching Full Screen
 Shift + F11: Switching Full Screen without Interference
 Alt + Shift + 2: split left and right
 Alt + Shift + 8: Screen up and down
 Alt + Shift + 5: split the screen from top to bottom
 After splitting the screen, use Ctrl + digital key to jump to the specified screen, and use Ctrl + Shift + digital key to move the current screen to the specified screen.

5. Recommend Personal Configuration

    // Theme, color matching
    "theme": "Afterglow-green.sublime-theme", // Integral interface
    "color_scheme": "Packages/Theme - Afterglow/Flatland - Monokai.tmTheme", // Colour matching scheme
    // "sidebar_no_icon": true,
    "sidebar_size_13": true,
    "sidebar_row_padding_medium": true,
    "folder_no_icon": true,
    "tabs_small": true,
    "tabs_padding_small": true,
    "tabs_padding_medium": true,
    // "tabs_label_not_italic": true,
    "status_bar_brighter": true,
    "color_inactive_tabs": true,

    // Overall settings
    // "font_face": "YaHei Consolas Hybrid",
    "font_face": "Microsoft Yahei Mono", // Font type
    "font_size": 12.5, // Font size
    // "font_options": [ "gray_antialias" ], // On retina Mac
    "highlight_line": true, // Highlight the current line
    // "line_numbers": true, // display line number
    // "gutter": false, // display line number sidebar
    // "margin": 0, // line number sidebar and text spacing
    "line_padding_top": 2, // Upper spacing of rows
    "line_padding_bottom": 2, // Underline spacing
    // "draw_white_space": "all", // display blank characters
    "show_encoding": true, // The status bar displays the current file encoding
    "always_show_minimap_viewport": true, // Always display the code map visual area on the right
    // "draw_minimap_border": true, // / displays the border of the visual area section
    // "bold_folder_labels": true, // left sidebar Text Bold
    "indent_guide_options": [ "draw_normal", "draw_active" ], // Alignment of tabulation epitopes
    "remember_open_files": true, // Files opened before memory
    // "overlay_scroll_bars": "system",
    "dpi_scale": 1.0, // High split screen must adjust this setting
    "show_full_path": true, // The title bar shows the full path to open the file

    // To delete the plug-in you want to ignore, you need to restart it
        // "Vintage" // Disable vim mode

    // Editorial Behavior
    "default_encoding": "UTF-8", // Default encoding format
    "tab_size": 4,  // Tab key tab width
    "translate_tabs_to_spaces": true, // When set to true, indent and use spaces to replace Tab keys
    "scroll_past_end": false, // When set to false, when scrolling to the bottom of the text, there is no buffer
    // "highlight_modified_tabs": true, // highlighted content with modified Tags
    // "find_selected_text": true, // matches the selected text
    "trim_trailing_white_space_on_save": true, // Whether to delete the extra space at the end of each line when saving the file
    // "ensure_newline_at_eof_on_save": false, // when saving a file, does the cursor change a line at the end of the file
    // "save_on_focus_lost": false, // / switch to other file labels or click on other non-software areas, whether the file is automatically saved
    // "auto_close_tags": true, // automatic closing tags
    // "tab_completion": true,
    // "auto_complete": true, // code prompt
    // "auto_complete_delay": 50, // / code prompt delayed display
    "auto_complete_triggers": [ // Setting trigger code reminder keywords
            "selector": "text.html",
            "characters": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.<"
            "selector": "text.xml",
            "characters": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.<"
            "selector": "text.php",
            "characters": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.<"
            "selector": "text.css",
            "characters": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.<"
            "selector": "text.js",
            "characters": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.<"
    // "auto_match_enabled": true, // automatic matching quotation marks, parentheses, etc.

    // cursor style
    "caret_style": "smooth", // Cursor flicker mode "smooth", "phase", "blink", "wide" and "solid"
    "caret_extra_bottom": 1,
    "caret_extra_top": 1,
    "caret_extra_width": 1,

    // Word wrapping - follow PEP 8 recommendations
    "rulers": [ 82, 92 ],
    // "wrap_width": 80, // / Sets the width of the text area in the window
    "word_wrap": false, // true | false | auto

    // Prohibit automatic updates
    "update_check": false

6. Font

For more information, please visit:

Tags: sublime encoding pip JQuery

Posted on Fri, 28 Jun 2019 14:27:59 -0700 by ConcreteDJ