The following column sublime tutorial will introduce you to sublime shortcut keys. I hope it will be helpful to friends in need!
| Shortcut keys | Function |
|---|---|
| ctrl shift n | Open new Sublime |
| ctrl shift w | Close Sublime and close all open files |
| ctrl shift t | Reopen recently closed files |
| ctrl n | New file |
| ctrl s | Save |
| ctrl shift s | Save as |
| ctrl f4 | Close file |
| ctrl w | Close |
| ctrl k, ctrl b | Switch sidebar display status |
| Switch full screen state | |
| Do not disturb mode state switch | |
| Delete the left side | |
| Delete the left side | |
| Left Side delete all | |
| right side delete | |
| insert | |
| insert | |
| undo | |
| redo | ##ctrl y |
| ctrl u | |
| ctrl shift u | |
| ctrl shift v | |
| shift delete | |
| ctrl insert | |
| shift insert | |
| ctrl x | |
| ctrl c | |
| ctrl v | |
| ##left | |
| right | |
| up | |
| down | |
| shift left | |
| ##shift right | Move and select |
| shift up | Move and select |
| shift down | Move and select |
| ctrl left | Move (jump) according to \w rules |
| ctrl right | Move according to \w rules (jump) |
| ctrl shift left | Move according to \w rules and select (jump) |
| ctrl shift right | Move by \w rules and select (jump) |
| 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 lines for editing |
| ctrl alt down | Select multiple lines for editing |
| pageup | Move |
| pagedown | Move |
| shift pageup | Move selection |
| shift pagedown | Move selection |
| home | Move to the beginning of the line |
| end | Move to the line End |
| shift home | Select to the beginning of the line |
| shift end | Select to the end of the line |
| ctrl home | Move to the beginning of the page |
| ##ctrl end | Move to the end of the page |
| ctrl shift home | Select to the top line of the page |
| ctrl shift end | Select to the bottom line of the page Tail |
| ctrl up | Scroll line |
| ctrl down | Scroll line |
| ctrl pagedown | Next view (visual position) |
| ctrl pageup | Previous view |
| ctrl tab | Next view in the stack (opening order) |
| ctrl shift tab | Previous view in the stack |
| ctrl a | Select all |
| ctrl shift l | Select multiple lines for editing |
| escape | Single selection |
| escape | Clear field |
| Clear field | |
| Hide panel | |
| hide overlay | |
| hide auto complete | |
| insert best completion | |
| insert best completion | |
| replace completion with next completion | |
| reindent | |
| indent | |
| next field | |
| commit completion | |
| insert | |
| unindent | |
| unindent | |
| unindent | |
| prev field | |
| shrink Enter | |
| Unindent | |
| toggle overwrite | |
| Select a line, repeat to increase. Select the next line | |
| Select a word, repeat to increase. Select the next same word | |
| find under expand skip | |
| expand selection | |
| expand selection | |
| jump to the corresponding bracket | |
| 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 line before the current line |
| enter | commit completion |
| ctrl p | Search item File in |
| ctrl shift p | Open command panel |
| ctrl alt p | prompt select project |
| ctrl r | Go to Method |
| ctrl g | Jump to which line |
| ctrl ; | show overlay |
| ctrl i | show panel |
| ctrl shift i | show panel |
| ctrl f | find |
| ctrl h | Find and replace |
| ctrl shift h | Find and replace next |
| f3 | Next match |
| shift f3 | Previous match |
| ctrl f3 | Down One match |
| ctrl shift f3 | find under prev |
| alt f3 | find all under |
| ctrl e | slurp find string |
| slurp replace string | |
| show panel | |
| next result | |
| prev result | |
| toggle setting | |
| next misspelling | |
| prev misspelling | |
| swap line up | |
| swap line down | ##ctrl backspace |
| ctrl shift backspace | |
| ctrl delete | |
| ctrl shift delete | |
| ctrl / | |
| ctrl shift / | |
| ctrl j | |
| ctrl shift d | |
| ##ctrl ` | |
| ctrl space | |
| ctrl space | |
| ctrl alt shift p | |
| f7 | |
| ctrl b | |
| ctrl shift b | |
| ##ctrl break | exec |
| ctrl t | transpose |
| f9 | row sort |
| ctrl f9 | Row sorting |
| // Auto-pair quotes | |
| insert snippet | |
| \ | insert snippet |
| \ | move |
| backspace | run macro file |
| // Auto-pair single quotes | |
| insert snippet | |
| ##' | insert snippet |
| move | |
| run macro file | |
| ( | |
| insert snippet | |
| move | |
| run macro file | |
| [ | |
| insert snippet | |
| move | |
| run macro file | |
| { | |
| 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 | 标记状态切换 |
| 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 shift [ | 折叠(代码) |
| ctrl shift ] | 不折叠 |
| ctrl k, ctrl 1 | 按层级折叠(代码),数字是层级数 |
| ctrl k, ctrl 2 | 按层级折叠(代码),数字是层级数 |
| ctrl k, ctrl 3 | 按层级折叠(代码),数字是层级数 |
| ctrl k, ctrl 4 | 按层级折叠(代码),数字是层级数 |
| ctrl k, ctrl 5 | 按层级折叠(代码),数字是层级数 |
| ctrl k, ctrl 6 | 按层级折叠(代码),数字是层级数 |
| ctrl k, ctrl 7 | 按层级折叠(代码),数字是层级数 |
| ctrl k, ctrl 8 | 按层级折叠(代码),数字是层级数 |
| ctrl k, ctrl 9 | 按层级折叠(代码),数字是层级数 |
| 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 |
| // 查找面板的按键绑定 | |
| enter | 向后查找 |
| shift enter | 向前查找 |
| alt enter | 查找全部 |
| // 替换面板的按键绑定 | |
| enter | 查找下一个 |
| shift enter | 查找前一个 |
| alt enter | 查找全部 |
| ctrl alt enter | 替换全部 |
| // Incremental find panel key bindings | |
| enter | hide panel |
| shift enter | find prev |
| alt enter | find all |
The above is the detailed content of sublime shortcut keys, welcome to save~. For more information, please follow other related articles on the PHP Chinese website!
How do I reset Sublime Text to its default settings?Jul 23, 2025 am 03:43 AMToresetSublimeTexttoitsdefaultsettings,youmustmanuallyremoveorreplacetheDatafolderwheresettings,packages,andcachearestored,whichwillerasecustomizationsandrestoreoriginaldefaults.Thestepsareasfollows:1.LocatetheDatafolder(Windows:C:\Users\YourUsername
How do I use Sublime Text with remote development tools (e.g., SSH)?Jul 23, 2025 am 02:48 AMSublimeTextcanbeusedforremotedevelopmentbyusingpluginsorfilesystemmounting.1.InstalltheSFTPpluginviaPackageControltoconnecttoaremoteserverandsyncfilesautomatically.2.Createaconfigurationfilewithconnectiondetailssuchashost,username,andremotepath.3.Edi
How to create a snippet in Sublime TextJul 23, 2025 am 02:41 AMOpen Tools→Developer→NewSnippet...Edit XML template; 2. Set content (including tabstops such as ${1:xxx}), tabTrigger (trigger word), scope (scope of action such as text.html) and description; 3. Save as Packages/User/xxx.sublime-snippet, and then enter the trigger word Tab in the corresponding file to insert snippet.
How to fold and unfold code in Sublime TextJul 23, 2025 am 02:23 AMFoldablockwithCtrl Shift [(Win/Linux)orCmd Option [(macOS),2.UnfoldwithCtrl Shift ]orCmd Option ],3.UseCtrl K,Ctrl 1tofoldallandCtrl K,Ctrl Jtounfoldall,4.FoldbyindentationlevelviaCtrl K,Ctrl [followedbyanumber—theseshortcutsmakemanaginglargefileseff
How do I save a file in Sublime Text?Jul 22, 2025 am 03:01 AMThe method of saving files in SublimeText is as follows: 1. Use the shortcut keys Ctrl S (Windows/Linux) or Cmd S (macOS), or operate through the File>Save menu; 2. When saving for the first time, you need to specify the file name and path and add the correct extension; 3. If you need to save as another name or location, select File>SaveAs... and set a new path; 4. Press Ctrl K and then Ctrl S (or Cmd KCmd S) to save all modified files at once; 5. SublimeText does not enable automatic save by default, but au can be enabled in Preferences>Settings
How do I use bookmarks in Sublime Text?Jul 22, 2025 am 02:44 AMSublimeText's bookmarking feature helps quickly jump key lines of code. The setting method is: 1. Click on the blank area on the left side of the line number; 2. Use the shortcut key Ctrl F2 (Mac is Cmd F2). The navigation method is: 1. Press F2 to jump to the next bookmark; 2. Press Shift F2 to return to the previous bookmark. The methods for clearing include: 1. Use Ctrl F2 again to cancel a single bookmark; 2. Clear it with one click through the menu Selection>BookmarkLines>ClearBookmarks. In addition, you can use BookmarkAll function to batch mark multiple lines. After selecting the target line, enter the menu Selection>Book
How do I pull changes from a remote repository in Sublime Text?Jul 22, 2025 am 12:54 AMYoucanpullchangesfromaremoterepositoryinSublimeTextusingpluginsortheterminal.1.InstallGitSavvyorSublimeGittoperformGittaskswithinSublime;GitSavvyisfreeandopen-sourcewhileSublimeGitoffersapolishedUI.2.AfterinstallingGitSavvy,usetheCommandPaletteorshor
How do I view the Git history in Sublime Text?Jul 22, 2025 am 12:17 AMSublimeText can view Git history through the GitSavvy plugin. First, install PackageControl and GitSavvy plug-in; second, right-click the file and select "Git:Viewfilehistory" to view the file submission record; again, execute "Git:Viewgitlog" through the command panel to view the overall project submission log; finally, you can use the "Git:Toggleinlineblame" function to view the modifyer and submission information of each line of code.


Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Notepad++7.3.1
Easy-to-use and free code editor

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.







