Skip to content

Latest commit

 

History

History
103 lines (94 loc) · 3.86 KB

sublime-keyboard-shortcuts.md

File metadata and controls

103 lines (94 loc) · 3.86 KB

Sublime Text 2 Shortcuts

General

Files

Ctrl + Shift + n - New Window
Ctrl + Shift + w - Close Window
Ctrl + Shift + t - Reopen Last File
Ctrl + Shift + s - Save File As Prompt
Ctrl + w - Close Current File
Ctrl + o - Open File Prompt
Ctrl + n - New File
Ctrl + s - Save

Views

Ctrl + k + b - Toggle Sidebar
F11 - Toggle Fullscreen
Shift + F11 - Toggle Distraction Free
Ctrl + Shift + p - Command Prompt
Alt + Shift + 2 - Split View into Two Columns
Alt + Shift + 1 - Revert to One Column
Alt + Shift + 5 - Set to Grid View
Ctrl + [NUM] - Jump to Group Where [NUM] is 1-4
Ctrl + Shift + [NUM] - Move File to Specified Group Where [NUM] is 1-4

Editing

Ctrl + a - Select All
Ctrl + Shift + m - Select All Content in Current Parentheses
Ctrl + Shift + d - Duplicate Lines
Ctrl + m - Jump to Closing Parenthesis
Ctrl + Shift + l - Split Selection to Lines
Ctrl + d - Select Word; Repeat for Next Occurences
Backspace or Shift + Backspace or Ctrl + Shift + Backspace - Left Delete
Delete - Right Delete
Enter or Shift + Enter - Insert Newline
Ctrl + Shift + Enter - Insert Newline After
Ctrl + j - Join Line Below to End of Current Line
Ctrl + ] - Indent Lines
Ctrl + [ - De-indent Lines
Ctrl + z - Undo
Ctrl + Shift + z or Ctrl + y - Redo
Ctrl + Shift + v - Paste and Indent
Shift + Delete or Ctrl + x - Cut
Ctrl + Insert or Ctrl + c - Copy
Shift + Insert or Ctrl + v - Paste
Ctrl + k + k or Ctrl + x - Delete from Cursor to EOL
Ctrl + k + Backspace - Delete from Cursor to BOL
Ctrl + Shift + Up OR Down - Move Selected Up or Down
Ctrl + Space - Select Next Auto-Complete Suggestion
Ctrl + k + u - Transform to Uppercase
Ctrl + k + l - Transform to Lowercase

Navigation

Left or Shift + Left - Move Left (By Characters)
Right or Shift + Right - Move Right (By Characters)
Up or Shift + Up - Move Up (By Lines)
Down or Shift + Down - Move Down (By Lines)
Ctrl + Left or Ctrl + Shift + Left - Move Left (By Words)
Ctrl + Right or Ctrl + Shift + Right - Move Right (By Word Ends)
Alt + Left or Alt + Shift + Left - Move Left (By Subwords)
Alt + Right or Alt + Shift + Right - Move Right (By Subword Ends)
Page Up or Shift + Page Up - Next Page
Page Down or Shift + Page Down - Previous Page
Home or Shift + Home - Move to Beginning of Line
End or Shift + End - Move to End of Line
Ctrl + Home or Ctrl + Shift + Home - Move to Beginning of File
Ctrl + End or Ctrl + Shift + End - Move to End of File

Goto

Ctrl + p - Quick Open Files by Name
Ctrl + r - Goto Symbol
Ctrl + ; - Goto Word in Current File
Ctrl + g - Goto Line in Current File

Find and Replace

Ctrl + f - Open Find Menu
Ctrl + h - Open Find and Replace Menu
Alt + r - Toggle Regular Expression
Alt + c - Toggle Case Sensitive
Alt + w - Toggle Whole Word
Alt + a - Toggle Preserve Case
F3 - Find
Alt + Enter - Find All
Ctrl + Shift + f - Find in Files
Ctrl + Shift + a - Replace
Ctrl + Alt + Enter - Replace All

Tabs

Ctrl + Shift + t - Open Last Closed Tab
Ctrl + Page Up - Cycle Up Through Tabs
Ctrl + Page Down - Cycle Down Through Tabs

Bookmarks

Ctrl + F2 - Toggle Bookmark
F2 - Next Bookmark
Shift + F2 - Previous Bookmark
Ctrl + Shift + F2 - Clear Bookmarks

Comments

Ctrl + / - Comment/Un-Comment a Line
Ctrl + Shift + / - Block Comment Selection

Plugin Specific

Zen Coding/Emmet

Ctrl + Alt + Enter - Open Live Editor