diff --git a/atom.md b/atom.md index 4ffc32d7d..ee52358c7 100644 --- a/atom.md +++ b/atom.md @@ -30,8 +30,8 @@ Shortcuts | --- | --- | | `⌘k` `←` | Split pane to the left | | --- | --- | -| `⌥⌘=` | Grow pane | -| `⌥⌘-` | Shrink pane | +| `⌘⌥=` | Grow pane | +| `⌘⌥-` | Shrink pane | | --- | --- | | `^⇧←` | Move tab to left | {: .-shortcuts} @@ -59,3 +59,47 @@ See: [Symbols view](https://atom.io/packages/symbols-view) | `^⇧9` | Show Git pane | | `^⇧8` | Show GitHub pane | {: .-shortcuts} + +### Editing + +| Shortcut | Decription +| --- | --- +| `⌘d` | select word +| `⌘l` | select line +| --- | --- +| `⌘↓` | move line down +| `⌘↑` | move line up +| --- | --- +| `⌘⏎` | new line below +| `⌘⇧⏎` | new line above +| --- | --- +| `⌘⇧k` | delete line +| `⌘⇧d` | duplicate line +{: .-shortcuts} + +### Project + +| Shortcut | Description +| --- | --- +| `⌘⇧p` | command palette +| `⌘⇧a` | add project folder +| --- | --- +| `⌘n` | new file +| `⌘⇧n` | new window +| --- | --- +| `⌘f` | find in file +| `⌘⇧f` | find in project +| `⌘t` | search files in project +{: .-shortcuts} + +## Notes + +### ⌘ + +- For Windows and Linux, `⌘` is the `Control` key. +- For macOS, it's the `Command` key. + +### ⌥ + +- For Windows and Linux, `⌥` is the `Alt` key. +- For macOS, it's the `Option` key.