Here are some shortcut keys worth remembering. They should also work for Sublime Text.
- Toggle view of sidebar -
CMD+K
,CMD+B
- Go to a file -
CMD+P
then type the file name - Select next -
CMD+D
(Find > Select Next) - Select all -
CTRL+CMD+G
(Find > Select All) - Go to beginning/end of the line -
CMD+LEFT/RIGHT
- Select to beginning/end of the line -
SHIFT+CMD+LEFT/RIGHT
(Selection > Select to Beginning/End of Line) - Select the entire line -
CMD+L
(Selection > Select Line) - Select the entire word -
SHIFT+CTRL+W
(Selection > Select Word) - Move line up/down -
CTRL+CMD+UP/DOWN
(Edit > Lines > Move Lines Up/Down) - Select within brackets -
CTRL+CMD+M
(Selection > Select within brackets) - Add selection above/below -
SHIFT+ CTRL+UP/DOWN
(Selection > Add Selection Above) - Add a bookmark to a line -
FN+CMD+F2
andF2
to go to next bookmark
Atom's auto-indent (Edit > Lines > Auto Indent
) is a great feature, but it has no default keybinding. To create a custom keybinding for this, go to: Atom > Keymap...
then paste the following lines of code and save it.
'atom-text-editor':
'ctrl-cmd-]': 'editor:auto-indent'