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