11/21/2014

[Sublime Text] Sublime Text 2.0 Shortcut

Here are some useful shortcuts for sublime text.

General
Ctrl + Shift + P
Command pallette
Ctrl +  /
Toggle comment
Ctrl + Shift +  /
Toggle block comment
Ctrl + Space
Show completions
File / Tabs Navigation
Ctrl + P
Goto anything
Ctrl + G
Goto line
Ctrl + R
Goto symbol (function, table,...)
Ctrl + ;
Goto word in current file
Ctrl + Page up / Page down
Cycle up / down through tabs
Ctrl + Shift + t
Open last closed tab
Ctrl + W
Close current tab
Alt + [Num]
switch to tab Num
Ctrl + K, C
Goto current selection
Ctrl + Up / Down
Scroll up / down one line (doesn't move cursor)
Ctrl + F2
Set Bookmark
Alt + Ctrl + P
Switch Project
Ctrl + Shift + F2
Clear all bookmarks
F2
Goto next bookmark
View / Split Window
Ctrl + `
Show / Hide Console
Ctrl + K, B
Show / Hide Sidebar
F11
Full screen
Shift + F11
Distraction-free mode
Alt + Shift +1 / 2 / 3 / 4
Set single, 2, 3, or 4 column layout
Alt + Shift + 8 / 9
Set 2 or 3 Row layout
Alt + Shift + 5
Set 4-pane grid layout
Ctrl + 1 / 2 / 3 / 4
Set focused group / pane
Ctrl + Shift 1 / 2 / 3 / 4
Move current tab / file to pane
Find
F3
Find Next
Ctrl + F3
Find previous
Ctrl + I
Incremental find
Ctrl + H
Replace
Ctrl + Shift + H
Replace next
Ctrl + F3
Quick Find (find current word)
Alt + F3
Quick find all
Ctrl + E
Use selection for find
Ctrl + Shift + E
Use selection for replace
Ctrl + Shift + F
Find in files
F4
Next result (find in files)
Shift + F4
Previous result (find in files)
Folding
Ctrl + [  /  ]
Fold / expand
Ctrl + K, J
Unfold all
Ctrl + K, 1
Fold all
Ctrl + 2-9
Fold level X
Ctrl K, T
Fold tag attributes
Marks
Ctrl + K, Space
Set mark
Ctrl + K, A
Select to mark
Ctrl + K, W
Delete to mark
Ctrl + K, X
Swap with mark
Ctrl + K, Y
Yank
Word Manipulation
Ctrl + Delete / Backspace
Delete word forward / backward
Ctrl + K, K
Delete to end of line
Ctrl + K, Backspace
Delete to beginning of line
Ctrl + T
Transpose (switch characters surrounding cursor)
Alt + .
Close Tag
Ctrl + K, U / L
Convert to upper / lower case
Line Manipulation
Ctrl + ], [
Indent / outdent
Ctrl + Shift + Up / Down
Swap Line Up / Down
Ctrl + Shift + D
Duplicate Line
Ctrl + Shift + K
Delete line
Ctrl + J
Join lines
Ctrl + Enter
Insert line after
Ctrl + Shift + Enter
Insert line before
F9
Sort lines
Ctrl + F9
Sort lines (case-sensitive)
Selection
Ctrl + D
Quick select (repeat to add next)
Ctrl + U
Undo quick select
Ctrl + K, D
Skip and quick add next
Ctrl + Shift + L
Adds cursors to each line of current selection
Alt + Ctrl + Up / Down
Column selection previous / next line
Ctrl + L
Expand selection to line
Ctrl + Shift + Space
Expand selection to scope
Ctrl + Shift + M
Expand selection to brackets
Ctrl + Shift + J
Expand selection to indentation
Ctrl + Shift + A
Expand selection to tag

No comments: