atom: update

This commit is contained in:
Rico Sta. Cruz 2017-09-20 12:49:48 +08:00
parent 8fb0989e0c
commit 81ed3a6302
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 52 additions and 7 deletions

59
atom.md
View File

@ -1,16 +1,61 @@
---
title: Atom
category: Apps
layout: 2017/sheet
updated: 2017-09-20
---
### Symbols view
Shortcuts
---------
{: .-three-column}
- `^ ⌥ down` - jump to declaration under cursor
- `^ ⇧ r` - show tags
### Tree
| Shortcut | Description |
| --- | --- |
| `⌘\` | Toggle tree |
| `⌘⇧\` | Reveal current file |
{: .-shortcuts}
### Comments
| Shortcut | Description |
| --- | --- |
| `⌘/` | Toggle comments |
{: .-shortcuts}
### View
| Shortcut | Description |
| --- | --- |
| `⌘k` `←` | Split pane to the left |
| --- | --- |
| `⌥⌘=` | Grow pane |
| `⌥⌘-` | Shrink pane |
| --- | --- |
| `^⇧←` | Move tab to left |
{: .-shortcuts}
### Bracket matcher
- `^ m` - go to matching bracket
- `^ ]` - remove brackets from selection
- `^ ⌘ m` - select inside brackets
- `⌥ ⌘ .` - close tag
| `^m` | Go to matching bracket |
| `^]` | Remove brackets from selection |
| `^⌘m` | Select inside brackets |
| `⌥⌘.` | Close tag |
{: .-shortcuts}
### Symbols view
| `^⌥↓` | Jump to declaration under cursor |
| `^⇧r` | Show tags |
{: .-shortcuts}
Symbols view enables Ctags support for Atom.
See: [Symbols view](https://atom.io/packages/symbols-view)
### Git
| `^⇧9` | Show Git pane |
| `^⇧8` | Show GitHub pane |
{: .-shortcuts}