--- |
Editing |
--- |
|
Ctrl+C |
copy current line (if no selection) |
|
Ctrl+X |
cut current line (if no selection) |
|
Ctrl+Shift+K |
delete line |
|
Ctrl+Enter |
insert line after |
|
Ctrl+Shift+Enter |
insert line before |
|
Ctrl+Shift+Up/Down |
move line (or selection) up |
L |
Ctrl+L |
select line (repeat to select next lines) |
D |
Ctrl+D |
select word (repeat select others occurrences in context for multiple editing) |
|
Ctrl+M |
jump to closing bracket for current code, repeat to jump to opening bracket |
|
Ctrl+Shift+M |
select all contents of the current brackets (curly brackets, square brackets, parentheses) |
|
Ctrl+K+K |
delete from cursor to end of line |
|
Ctrl+K+Backspace |
delete from cursor to start of line |
|
Ctrl+] |
indent current line(s) |
|
Ctrl+[ |
un-indent current line(s) |
|
Ctrl+Shift+D |
duplicate line(s) |
|
Ctrl+J |
join line below to the end of the current line |
|
Ctrl+/ |
comment/un-comment current line |
|
Ctrl+Shift+/ |
block comment current selection |
|
Ctrl+Y |
redo, or repeat last keyboard shortcut command |
|
Ctrl+Shift+V |
paste and indent correctly |
|
Ctrl+S |
select next auto-complete suggestion |
|
Ctrl+U |
soft undo (somehow undoes your movements; it jumps to your last change before undoing it when you repeat this command) |
--- |
Navigation/Goto Anywhere |
--- |
P |
Ctrl+P |
quick-open files by name in your project (doesn't seem to need an actual project set up, it just searches in the directories around the currently-opened file |
|
Ctrl+R |
goto symbol (functions and classes) in the file. Same as Ctrl+P, then type @ |
|
Ctrl+; |
goto word in current file. Same as Ctrl+P, then type # |
|
Ctrl+G |
goto line in current file. Same as Ctrl+P, then type : |
--- |
General |
--- |
|
Ctrl+Shift+P |
command prompt |
|
Ctrl+K+B |
toggle side bar |
--- |
Find/Replace |
--- |
F |
Ctrl+F |
find |
|
Ctrl+H |
replace |
|
Ctrl+Shift+F |
find in files |
--- |
Tabs |
--- |
|
Ctrl+Shift+T |
open last closed tab (just like in your browser) |
|
Ctrl+PgDn |
cycle down through open tabs, cycle up with Ctrl+PgUp |
|
Ctrl+Tab |
cycle through last tabs (repeat to go back further in history) |
--- |
Bookmarks |
--- |
|
Ctrl+F2 |
toggle bookmark |
|
F2 |
next bookmark |
|
Shift+F2 |
previous bookmark |
|
Ctrl+Shift+F2 |
clear bookmarks |
--- |
Text manipulation |
--- |
KU |
Ctrl+K+U |
upper case |
KL |
Ctrl+K+L |
lower case |