Sublime Text2 Flashcards
Command Palette
Ctrl+Shift+P
Go to Any file
Ctrl+P then part of the file name
Go to symbol in a file
Ctrl+P then @symbol
Go to line number in a file
Ctrl+P then :# (:1 :13)
Go to word in a file
Ctrl+P then #word or Ctrl+;
What would Ctrl+P then tp@rf do?
may take you to a function read_file within a file text_parser.py
What would Ctrl+P then tp:100 do?
may take you to line 100 of the same file.
Insert line after
Ctrl+Enter
Insert line before
Ctrl+Shift+Enter
Repeat last keyboard command
Ctrl+Y
(Un)Comment the current line
Ctrl+/
Block (Un)Comment the current Selection
Ctrl+Shift+/
Uppercase
Ctrl+K then Ctrl+U
Lowercase
Ctrl+K then Ctrl+L
Move line/selection up
Ctrl+Shift+Up
Move line/selection down
Ctrl+Shift+Down
Duplicate lines
Ctrl+Shift+D
Join lines
Ctrl+J
Delete word forwards
Ctrl+Del
Delete word backwards
Ctrl+Backspace
Delete line
Ctrl+Shift+K
Delete from cursor to end of line
Ctrl+K Ctrl+K
Delete from cursor to start of line
Ctrl+K Ctrl+Backspace
Selection operations can be repeated multiple times - true or false
True
Select line
Ctrl+L
Select word
Ctrl+D (Also for the multiple cursors)
Skip the word selection
Ctrl+K Ctrl+D
Select scope
Ctrl+Shift+Space
Select brackets
Ctrl+Shift+M
Select indentation
Ctrl+Shift+J
Select tag
Ctrl+Shift+A
Scroll to selection
Ctrl+K Ctrl+C
Jump to closing parenthesis (repeat to go to opening)
Ctrl+M
Jump to your last change (repeat to undo change)
Ctrl+U
Toggle bookmark
Ctrl+F2
Next bookmark
F2
Previous bookmark
Shift+F2
Select all bookmarks
Alt+F2
Find (multiple)
Ctrl+F
Find (multiple) inside the selection
Select the region and Ctrl+F
(after Ctrl+F) Find Next
F3
(after Ctrl+F) Find Previous
Shift+F3
(after Ctrl+F) Find All
Alt+Enter
Replace
Ctrl+H
(after Ctrl+H) Find Next
F3
(after Ctrl+H) Find Previous
Shift+F3
(after Ctrl+H) Find All
Alt+Enter
(after Ctrl+H) Replace
Ctrl+Shift+H
(after Ctrl+H) Replace All
Ctrl+Alt+Enter \
Find in files
Ctrl+Shift+F
(after Ctrl+Shift+F) Find Next
F3
(after Ctrl+Shift+F) Find Previous
Shift+F3
Code Folding
Ctrl+Shift+[
Code Unfolding
Ctrl+Shift+]
Code Unfold all
Ctrl+K, Ctrl+J
Record
Ctrl+Q
Playback
Ctrl+Shift+Q
Previous tab
Ctrl+PgUp
Next tab
Ctrl+PgDown
Switch to tab number
Alt+number
Ctrl+Shift+P
Command Palette
Ctrl+P then part of the file name
Go to Any file
Ctrl+P then @symbol
Go to symbol in a file
Ctrl+P then :# (:1 :13)
Go to line number in a file
Ctrl+P then #word or Ctrl+;
Go to word in a file
may take you to a function read_file within a file text_parser.py
What would Ctrl+P then tp@rf do?
may take you to line 100 of the same file.
What would Ctrl+P then tp:100 do?
Ctrl+Enter
Insert line after
Ctrl+Shift+Enter
Insert line before
Ctrl+Y
Repeat last keyboard command
Ctrl+/
(Un)Comment the current line
Ctrl+Shift+/
Block (Un)Comment the current Selection
Ctrl+K then Ctrl+U
Uppercase
Ctrl+K then Ctrl+L
Lowercase
Ctrl+Shift+Up
Move line/selection up
Ctrl+Shift+Down
Move line/selection down
Ctrl+Shift+D
Duplicate lines
Ctrl+J
Join lines
Ctrl+Del
Delete word forwards
Ctrl+Backspace
Delete word backwards
Ctrl+Shift+K
Delete line
Ctrl+K Ctrl+K
Delete from cursor to end of line
Ctrl+K Ctrl+Backspace
Delete from cursor to start of line
True
Selection operations can be repeated multiple times - true or false
Ctrl+L
Select line
Ctrl+D (Also
Select word
Ctrl+K Ctrl+D
Skip the word selection
Ctrl+Shift+Space
Select scope
Ctrl+Shift+M
Select brackets
Ctrl+Shift+J
Select indentation
Ctrl+Shift+A
Select tag
Ctrl+K Ctrl+C
Scroll to selection
Ctrl+M
Jump to closing parenthesis (repeat to go to opening)
Ctrl+U
Jump to your last change (repeat to undo change)
Ctrl+F2
Toggle bookmark
F2
Next bookmark
Shift+F2
Previous bookmark
Alt+F2
Select all bookmarks
Ctrl+F
Find (multiple)
Select the region and Ctrl+F
Find (multiple) inside the selection
F3
(after Ctrl+F) Find Next
Shift+F3
(after Ctrl+F) Find Previous
Alt+Enter
(after Ctrl+F) Find All
Ctrl+H
Replace
F3
(after Ctrl+H) Find Next
Shift+F3
(after Ctrl+H) Find Previous
Alt+Enter
(after Ctrl+H) Find All
Ctrl+Shift+H
(after Ctrl+H) Replace
Ctrl+Alt+Enter \
(after Ctrl+H) Replace All
Ctrl+Shift+F
Find in files
F3
(after Ctrl+Shift+F) Find Next
Shift+F3
(after Ctrl+Shift+F) Find Previous
Ctrl+Shift+[
Code Folding
Ctrl+Shift+]
Code Unfolding
Ctrl+K, Ctrl+J
Code Unfold all
Ctrl+Q
Record
Ctrl+Shift+Q
Playback
Ctrl+PgUp
Previous tab
Ctrl+PgDown
Next tab
Alt+number
Switch to tab number