⌘T | go to file |
⌘⌃P | go to project |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
⌃ ` | python console |
⌘⇧N | new window (useful for new project) |
⌘← | go to beginning of line (conflicts with default Mission Control shortcut) |
⌘→ | go to end of line (conflicts with default Mission Control shortcut) |
*⌃↑ | scroll one line up |
*⌃↓ | scroll one line down |
⌘↑ | go to start of file |
⌘↓ | go to end of file |
⌘R | go to methods |
⌃G | go to line |
⌃M | jump to matching brackets |
⌘L | select line (repeat select next lines) |
⌘D | select word (repeat select others occurrences in context for multiple editing) |
⌃⇧M | select content into brackets |
⌘⇧↩ | insert line before |
⌘↩ | insert line after |
⌃⇧K | delete line |
⌘KK | delete from cursor to end of line |
⌘K⌫ | delete from cursor to start of line |
⌘⇧D | duplicate line(s) |
⌘J | join lines |
⌘KU | upper case |
⌘KL | lower case |
⌘ / | comment |
⌘⌥ / | block comment |
⌘Y | redo or repeat |
⌘⇧V | past and ident |
⌃ space | autocomplete (repeat to select next suggestion) |
⌘U | soft undo (movement undo) |
⌘⇧U | soft redo (movement redo) |
:w | save file |
j | move cursor up one line |
k | move cursor down one line |
h | move cursor one position right |
l | move cursor one position left |
e | move cursor to the end of word |
0 | move cursor to beginning of line |
^ | move cursor to frst non-whitespace character on the line |
$ | move cursor to end of line |
⇧h | move cursor to the first line of screen |
⇧m | move cursor to the middle of the screen |
⇧l | move cursor to the bottom of the screen |
i | insert before cursor |
⇧i | insert at the beginning of current line |
a | append after cursor |
⇧a | append to the end of the current line |
o | insert on a new line below |
⇧O | insert on a new line above |
r | overwrite current and return to command mode |
⌘⇧A | select content into tag |
⌘⌥ . | close tag |
⌘F | find |
⌘⌥F | replace |
⌘⌥G | find next occurrence of current word |
⌘⌃G | select all occurrences of current word for multiple editing |
⌘⇧F | find in files |
⌘⌥1 | single column |
⌘⌥2 | two columns |
⌘⌥5 | grid (4 groups) |
⌃[1,2,3,4] | focus group |
⌃⇧[1,2,3,4] | move file to group |
⌘[1,2,3…] | select tab |
⌘F2 | toggle bookmark |
F2 | next bookmark |
⇧F2 | previous bookmark |
⌘⇧F2 | clear bookmarks |
⌘K space | set mark // ⌘K; for me |
⌘KW | delete from cursor to mark |
⌘KA | select from cursor to mark |
⌘KG | clear mark |