Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fed/sublime-atom-keybindings

Useful Sublime Text and Atom/Nuclide Key Bindings ⌨️
https://github.com/fed/sublime-atom-keybindings

atom key-bindings sublime-text

Last synced: 8 days ago
JSON representation

Useful Sublime Text and Atom/Nuclide Key Bindings ⌨️

Awesome Lists containing this project

README

        

# [Sublime Text](https://www.sublimetext.com/) and [Atom](https://atom.io/) Shortcuts and Key Bindings

## Selection

| Key Binding | Description |
|-------------|-------------|
| `Cmd + L` | Select current line |
| `Cmd + D` | Select current word/token |
| `Cmd + U` | Unselect the next matching characters (inverse of the previous command) |
| `Cmd + Ctrl + G` | Select all matching characters / all occurrences |
| `Cmd + Ctrl + Up or Down` | Move the current line Up or Down |
| `Cmd + Shift + D` | Duplicate line |
| `Cmd + /` | Toggle comments |
| `Opt + Shift + left/right` | Select to the beginning/end of the word |
| `Shift + Cmd + left/right` | Select to the first/last character of the line |
| `Shift + Cmd + up/down` | Select to top/bottom of document |

## Find and Replace

| Key Binding | Description |
|-------------|-------------|
| `Cmd + F` | Find in file |
| `Cmd + G` | Find next occurrence |
| `Cmd + Shift + F` | Find in project |
| `Cmd + Opt + F` | Find and replace all |

## Navigation / Go To

| Key Binding | Description |
|-------------|-------------|
| `Ctrl + G` | Go to line (also `Cmd + P` and type `:`) |
| `Cmd + R` | Go to symbol (also `Cmd + P` and type `@`) |
| `Opt + Cmd + Down Arrow` | Go to definition |
| `Cmd + Shift + {` | Previous file |
| `Cmd + Shift + }` | Next file |

## Window and Sidebar Manipulation

| Key Binding | Description |
|-------------|-------------|
| `Cmd + \` | Toggle tree-view sidebar |
| `Cmd + Shift + \` | Locate current file on file explorer (needs to be configured in Sublime) |
| `Ctrl + Cmd + F` | Toggle fullscreen |

## Layout

| Key Binding | Description |
|-------------|-------------|
| `Cmd + Opt + 1` | Single column/row layout |
| `Cmd + Opt + 2` | Double column layout |
| `Cmd + Opt + Shift + 2` | Double row layout |

## Folding

| Key Binding | Description |
|-------------|-------------|
| `Alt + Cmd + [` | Fold current code block |
| `Alt + Cmd + ]` | Unfold current code block |

## Word Manipulation

| Key Binding | Description |
|-------------|-------------|
| `Ctrl + T` | Transpose characters on either side of cursor |
| `Opt + backspace` | Delete word to the left of the cursor |
| `Fn + Opt + backspace` | Delete word to the right of the cursor |

## Line Manipulation

| Key Binding | Description |
|-------------|-------------|
| `Cmd + ]` | Indent current line |
| `Cmd + [` | Outdent current line |
| `Cmd + Enter` | Insert new line after current line |
| `Cmd + Shift + Enter` | Insert new line before current line |
| `Ctrl + K` | Delete line to the right of the cursor |
| `Cmd + J` | Join current and next lines |

## Moving and Controlling the Cursor

| Key Binding | Description |
|-------------|-------------|
| `Ctrl + -` | Jump back to last cursor |
| `Ctrl + Shift + -` | Jump forward to next cursor |
| `Ctrl + M` | Jump to matching bracket |
| `Cmd + Shift + L` | split selection into multiple cursors |

## Bookmarks

| Key Binding | Description |
|-------------|-------------|
| `Cmd + Fn + F2` | Set bookmark |
| `Ctrl + R` | Go to next bookmark |