Sublime text 快捷键大全

File:
Ctrl+N: New File
Ctrl+O: Open File
Ctrl+W: Close File
Ctrl+Shift+T: Reopen Closed File
Ctrl+S: Save File
Ctrl+Shift+S: Save As
Ctrl+Shift+N: New Window`
Ctrl+Shift+W: Close Window
--------------------------------------------------
Edit:
Ctrl+Z:Undo
Ctrl+Y:Redo
Ctrl+U:Undo Selection
Ctrl+Shift+U:Redo Selection
Ctrl+C: Copy
Ctrl+X:Cut
Ctrl+V:Paste
Ctrl+Shift+V:Paste and Indent
Ctrl+K,Ctrl+V: Paste From History
Line:
Ctrl+]:Indent
Ctrl+[:Unindent
Ctrl+Shift+Up:Swap Line Up
Ctrl+Shift+Down:Swap Line Down
Ctrl+Shift+D:Duplicate Line
Ctrl+Shift+K:Delete Line
Ctrl+J: Join Lines
Comment:
Ctrl+/: Toggle Comment
Ctrl+Shift+/: Toggle Block Comment
Text:
Ctrl+Shift+Enter: Insert Line Before
Ctrl+Enter: Insert Line After
Ctrl+Delete: Delete Word Forward
Ctrl+Backspace: Delete Word Backward
Ctrl+Shift+K: Delete Line
Ctrl+K,Ctrl+K: Delete to End
Ctrl+K,Ctrl+Backspace: Delete to Beginning
Ctrl+T:Transpose
Tag:
Alt+.: Close Tag
Ctrl+Shift+A: Expand Selection To Tag
Ctrl+Shift+W: Wrap Selection With Tag
Mark:
Ctrl+K,Ctrl+Space: Set Mark
Ctrl+K,Ctrl+A: Selected to Mark
Ctrl+K,Ctrl+W: Delete to Mark
Ctrl+K,Ctrl+X: Swap with Mark
Ctrl+K,Ctrl+G: Clear Mark
Ctrl+K,Ctrl+Y: Yank
Code Folding:
Ctrl+Shift+[: Fold
Ctrl+Shift+]: Unfold
Ctrl+K,Ctrl+J: Unfold All
Ctrl+K,Ctrl+1: Fold All
Ctrl+K,Ctrl+T: Fold Tag Attributes
Convert Case:
Ctrl+K,Ctrl+U: Upper Case
Ctrl+K,Ctrl+L: Lower Case
Ctrl+Space: Show Completions
F9: Sort Lines
Ctrl+F9: Sort Lines(Case Sensitive)
--------------------------------------------------
Selection:
Ctrl+Shift+L: Split into Lines
Ctrl+Alt+Up: Add Previous Line
Ctrl+Alt+Down: Add Next Line
Escape: Single Selection
Ctrl+A: Select All
Ctrl+L: Expand Selection To Line
Ctrl+D: Expand Selection To Word
Ctrl+Shift+Space: Expand Selection To Scope
Ctrl+Shift+J: Expand Selection To Indentation
Ctrl+Shift+A: Expand Selection To Tag
--------------------------------------------------
Find:
Ctrl+F: Find
F3: Find Next
Shift+F3: Find Previous
Ctrl+I: Incremental Find
Ctrl+H: Repalce
Ctrl+Shift+H: Repalce Current Keyword
Ctrl+Alt+Enter: Repalce All Keyword
Ctrl+F3: Quick Find
Alt+F3: Quick Find All
Ctrl+D: Quick Add Next
Ctrl+K,Ctrl+D: Quick Skip Next
Ctrl+E: Use Selection to Find
Ctrl+Shift+E: Use Selection to Replace
Ctrl+Shift+F: Find in Files...#
--------------------------------------------------
View:
Ctrl+K,Ctrl+B: Show Side Bar
Ctrl+`: Show Console
F11: Enter Full Screen
Shift+F11: Enter Distraction Free Mode
Layout:
Ctrl+Shift+1: Single
Ctrl+Shift+2: Columns:2
Ctrl+Shift+3: Columns:3
Ctrl+Shift+4: Columns:4
Ctrl+Shift+8: Rows:2
Ctrl+Shift+9: Rows:3
Ctrl+Shift+5: Grid:4
Groups:
Ctrl+K,Ctrl+Up: Move File to New Group
Ctrl+K,Ctrl+Shift+Up: New Group
Ctrl+K,Ctrl+Down: Close Group
Focus Group:
Ctrl+K,Ctrl+Right: Next Group
Ctrl+K,Ctrl+Left: Previous Group
Ctrl+1: Group 1
Move File to Group:
Ctrl+K,Ctrl+Shift+Right: Next
Ctrl+K,Ctrl+Shift+Left: Previous
Ctrl+Shift+1: Group 1
F6: Spell Check
--------------------------------------------------
Goto:
Ctrl+P: Goto Anything
Ctrl+R: Goto Symbol
Ctrl+Shift+R: Goto Symbol In Project
F12: Goto Definition
Ctrl+G: Goto Line
Alt+-: Jump Back
Alt+Shift+-: Jump Forward
Switch File:
Ctrl+Pagedown: Next File
Ctrl+Pageup: Previous File
Ctrl+Tab: Next File in Stack
Ctrl+Shift+Tab: Previous File in Stack
Alt+O: Switch Header/Implementation
Scroll:
Ctrl+K,Ctrl+C:Scroll to Selection
Ctrl+Up: Line Up
Ctrl+Down: Line Down
Bookmarks:
Ctrl+F2: Toggle Bookmark
F2:Next Bookmark
Shift+F2: Prev Bookmark
Ctrl+Shift+F2: Clear All Bookmarks
Alt+F2: Select All Bookmarks
Ctrl+M: Jump to Matching Bracket
--------------------------------------------------
Tools:
Ctrl+Shift+P: Command Palette
Ctrl+B: Build
Ctrl+Shift+B: Build With...
Ctrl+Shift+H: Prettify Code

你可能感兴趣的:(sublime)