docs: Consistent shortcut style (#6961)

Hey all. This is a follow-up to my last PR
https://github.com/zed-industries/zed/pull/6821. I went through and
applied the same style changes to more pages so your docs are more
consistent.

<img width="1330" alt="image"
src="https://github.com/zed-industries/zed/assets/18583882/b9adbb38-b98d-47c6-b585-7e298ffae854">


Note that some pages from your old docs repo haven't been ported to
`zed-industries/zed` yet.

Release Notes:

- Improved documentation consistency.
This commit is contained in:
Kieran Gill 2024-01-28 22:33:07 -05:00 committed by GitHub
parent 6cd306e4c9
commit 00a6ac6141
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 325 additions and 325 deletions

View file

@ -24,7 +24,7 @@ The following global settings can be overridden with a folder-specific configura
## Global settings
To get started with editing Zed's global settings, open `~/.config/zed/settings.json` via `cmd-,`, the command palette (`zed: open settings`), or the `Zed > Settings > Open Settings` application menu item.
To get started with editing Zed's global settings, open `~/.config/zed/settings.json` via `⌘` + `,`, the command palette (`zed: open settings`), or the `Zed > Settings > Open Settings` application menu item.
Here are all the currently available settings.

View file

@ -8,7 +8,7 @@ We have a growing collection of pre-defined keymaps in our [keymaps repository](
#### Accessing custom key bindings
You can open `keymap.json` via `CMD + K, CMD + S`, the command palette, or the `Zed > Settings > Open Key Bindings` application menu item.
You can open `keymap.json` via `⌘` + `K`, `⌘` + `S`, the command palette, or the `Zed > Settings > Open Key Bindings` application menu item.
#### Adding a custom key binding
@ -18,14 +18,14 @@ An example of adding a set of custom key bindings:
```json
[
{
"context": "Editor",
"bindings": {
"ctrl-w": "editor::SelectLargerSyntaxNode",
"ctrl-shift-W": "editor::SelectSmallerSyntaxNode",
"ctrl-c": "editor::Cancel"
}
{
"context": "Editor",
"bindings": {
"ctrl-w": "editor::SelectLargerSyntaxNode",
"ctrl-shift-W": "editor::SelectSmallerSyntaxNode",
"ctrl-c": "editor::Cancel"
}
}
]
```
@ -37,268 +37,268 @@ _There are some key bindings that can't be overridden; we are working on an issu
#### Global
| **Command** | **Target** | **Default Shortcut** |
| -------------------------------- | -------------- | ------------------------------ |
| Open recent | Branches | `Alt + Command + B` |
| Toggle focus | Collab Panel | `Command + Shift + C` |
| Toggle inlay hints | Editor | `Control + :` |
| Cancel | Menu | `Control + C` |
| Cancel | Menu | `Escape` |
| Confirm | Menu | `Enter` |
| Secondary confirm | Menu | `Command + Enter` |
| Select first | Menu | `Command + Up` |
| Select first | Menu | `Page Up` |
| Select first | Menu | `Shift + Page Down` |
| Select first | Menu | `Shift + Page Up` |
| Select last | Menu | `Command + Down` |
| Select last | Menu | `Page Down` |
| Select next | Menu | `Control + N` |
| Select next | Menu | `Down` |
| Select prev | Menu | `Control + P` |
| Select prev | Menu | `Up` |
| Show context menu | Menu | `Control + Enter` |
| Activate next item | Pane | `Alt + Command + Right` |
| Activate next item | Pane | `Command + }` |
| Activate prev item | Pane | `Alt + Command + Left` |
| Activate prev item | Pane | `Command + {` |
| Close active item | Pane | `Command + W` |
| Close all items | Pane | `Command + K, Command + W` |
| Close clean items | Pane | `Command + K, U` |
| Close inactive items | Pane | `Alt + Command + T` |
| Open recent | Projects | `Alt + Command + O` |
| Toggle focus | Terminal Panel | ``Control + ` `` |
| Activate pane in direction down | Workspace | `Command + K, Command + Down` |
| Activate pane in direction left | Workspace | `Command + K, Command + Left` |
| Activate pane in direction right | Workspace | `Command + K, Command + Right` |
| Activate pane in direction up | Workspace | `Command + K, Command + Up` |
| Close inactive tabs and panes | Workspace | `Control + Alt + Command + W` |
| Close window | Workspace | `Command + Shift + W` |
| Follow next collaborator | Workspace | `Control + Alt + Command + F` |
| New file | Workspace | `Command + N` |
| New terminal | Workspace | `Control + ~` |
| New window | Workspace | `Command + Shift + N` |
| Open | Workspace | `Command + O` |
| Save | Workspace | `Command + S` |
| Save as | Workspace | `Command + Shift + S` |
| Swap pane in direction | Workspace | `Command + K, Shift + Down` |
| Swap pane in direction | Workspace | `Command + K, Shift + Left` |
| Swap pane in direction | Workspace | `Command + K, Shift + Right` |
| Swap pane in direction | Workspace | `Command + K, Shift + Up` |
| Toggle zoom | Workspace | `Shift + Escape` |
| Debug elements | Zed | `Command + Alt + I` |
| Decrease buffer font size | Zed | `Command + ` |
| Hide | Zed | `Command + H` |
| Hide others | Zed | `Alt + Command + H` |
| Increase buffer font size | Zed | `Command + +` |
| Increase buffer font size | Zed | `Command + =` |
| Minimize | Zed | `Command + M` |
| Open settings | Zed | `Command + ,` |
| Quit | Zed | `Command + Q` |
| Reset buffer font size | Zed | `Command + 0` |
| Toggle full screen | Zed | `Control + Command + F` |
| **Command** | **Target** | **Default Shortcut** |
| -------------------------------- | -------------- | ----------------------------- |
| Open recent | Branches | `Alt` + `⌘` + `B` |
| Toggle focus | Collab Panel | `⌘` + `Shift` + `C` |
| Toggle inlay hints | Editor | `Control` + `:` |
| Cancel | Menu | `Control` + `C` |
| Cancel | Menu | `Escape` |
| Confirm | Menu | `Enter` |
| Secondary confirm | Menu | `⌘` + `Enter` |
| Select first | Menu | `⌘` + `Up` |
| Select first | Menu | `Page Up` |
| Select first | Menu | `Shift` + `Page Down` |
| Select first | Menu | `Shift` + `Page Up` |
| Select last | Menu | `⌘` + `Down` |
| Select last | Menu | `Page Down` |
| Select next | Menu | `Control` + `N` |
| Select next | Menu | `Down` |
| Select prev | Menu | `Control` + `P` |
| Select prev | Menu | `Up` |
| Show context menu | Menu | `Control` + `Enter` |
| Activate next item | Pane | `Alt` + `⌘` + `Right` |
| Activate next item | Pane | `⌘` + `}` |
| Activate prev item | Pane | `Alt` + `⌘` + `Left` |
| Activate prev item | Pane | `⌘` + `{` |
| Close active item | Pane | `⌘` + `W` |
| Close all items | Pane | `⌘` + `K`, `⌘` + `W` |
| Close clean items | Pane | `⌘` + `K`, `U` |
| Close inactive items | Pane | `Alt` + `⌘` + `T` |
| Open recent | Projects | `Alt` + `⌘` + `O` |
| Toggle focus | Terminal Panel | `Control` + `` ` `` |
| Activate pane in direction down | Workspace | `⌘` + `K`, `⌘` + `Down` |
| Activate pane in direction left | Workspace | `⌘` + `K`, `⌘` + `Left` |
| Activate pane in direction right | Workspace | `⌘` + `K`, `⌘` + `Right` |
| Activate pane in direction up | Workspace | `⌘` + `K`, `⌘` + `Up` |
| Close inactive tabs and panes | Workspace | `Control` + `Alt` + `⌘` + `W` |
| Close window | Workspace | `⌘` + `Shift` + `W` |
| Follow next collaborator | Workspace | `Control` + `Alt` + `⌘` + `F` |
| New file | Workspace | `⌘` + `N` |
| New terminal | Workspace | `Control` + `~` |
| New window | Workspace | `⌘` + `Shift` + `N` |
| Open | Workspace | `⌘` + `O` |
| Save | Workspace | `⌘` + `S` |
| Save as | Workspace | `⌘` + `Shift` + `S` |
| Swap pane in direction | Workspace | `⌘` + `K`, `Shift` + `Down` |
| Swap pane in direction | Workspace | `⌘` + `K`, `Shift` + `Left` |
| Swap pane in direction | Workspace | `⌘` + `K`, `Shift` + `Right` |
| Swap pane in direction | Workspace | `⌘` + `K`, `Shift` + `Up` |
| Toggle zoom | Workspace | `Shift` + `Escape` |
| Debug elements | Zed | `⌘` + `Alt` + `I` |
| Decrease buffer font size | Zed | `⌘` + `` ` `` |
| Hide | Zed | `⌘` + `H` |
| Hide others | Zed | `Alt` + `⌘` + `H` |
| Increase buffer font size | Zed | `⌘` + `+` |
| Increase buffer font size | Zed | `⌘` + `=` |
| Minimize | Zed | `⌘` + `M` |
| Open settings | Zed | `⌘` + `,` |
| Quit | Zed | `⌘` + `Q` |
| Reset buffer font size | Zed | `⌘` + `0` |
| Toggle full screen | Zed | `Control` + `⌘` + `F` |
#### Editor
| **Command** | **Target** | **Default Shortcut** |
| -------------------------------- | ---------- | ------------------------------------ |
| Inline assist | Assistant | `Control + Enter` |
| Add selection above | Editor | `Command + Alt + Up` |
| Add selection above | Editor | `Command + Control + P` |
| Add selection below | Editor | `Command + Alt + Down` |
| Add selection below | Editor | `Command + Control + N` |
| Backspace | Editor | `Backspace` |
| Backspace | Editor | `Control + H` |
| Backspace | Editor | `Shift + Backspace` |
| Cancel | Editor | `Escape` |
| Confirm code action | Editor | `Enter` |
| Confirm completion | Editor | `Enter` |
| Confirm completion | Editor | `Tab` |
| Confirm rename | Editor | `Enter` |
| Context menu first | Editor | `Page Up` |
| Context menu last | Editor | `Page Down` |
| Context menu next | Editor | `Control + N` |
| Context menu next | Editor | `Down` |
| Context menu prev | Editor | `Control + P` |
| Context menu prev | Editor | `Up` |
| Copy | Editor | `Command + C` |
| Cut | Editor | `Command + X` |
| Cut to end of line | Editor | `Control + K` |
| Delete | Editor | `Control + D` |
| Delete | Editor | `Delete` |
| Delete line | Editor | `Control + Shift + K` |
| Delete to beginning of line | Editor | `Command + Backspace` |
| Delete to end of line | Editor | `Command + Delete` |
| Delete to next subword end | Editor | `Control + Alt + D` |
| Delete to next subword end | Editor | `Control + Alt + Delete` |
| Delete to next word end | Editor | `Alt + D` |
| Delete to next word end | Editor | `Alt + Delete` |
| Delete to previous subword start | Editor | `Control + Alt + Backspace` |
| Delete to previous subword start | Editor | `Control + Alt + H` |
| Delete to previous word start | Editor | `Alt + Backspace` |
| Delete to previous word start | Editor | `Alt + H` |
| Duplicate line | Editor | `Command + Shift + D` |
| Find all references | Editor | `Alt + Shift + F12` |
| Fold | Editor | `Alt + Command + [` |
| Format | Editor | `Command + Shift + I` |
| Go to definition | Editor | `F12` |
| Go to definition split | Editor | `Alt + F12` |
| Go to diagnostic | Editor | `F8` |
| Go to hunk | Editor | `Command + F8` |
| Go to prev diagnostic | Editor | `Shift + F8` |
| Go to prev hunk | Editor | `Command + Shift + F8` |
| Go to type definition | Editor | `Command + F12` |
| Go to type definition split | Editor | `Alt + Command + F12` |
| Hover | Editor | `Command + K, Command + I` |
| Indent | Editor | `Command + ]` |
| Join lines | Editor | `Control + J` |
| Move down | Editor | `Control + N` |
| Move down | Editor | `Down` |
| Move left | Editor | `Control + B` |
| Move left | Editor | `Left` |
| Move line down | Editor | `Control + Command + Down` |
| Move line up | Editor | `Control + Command + Up` |
| Move page down | Editor | `Control + V` |
| Move page down | Editor | `Shift + Page Down` |
| Move page up | Editor | `Alt + V` |
| Move page up | Editor | `Shift + Page Up` |
| Move right | Editor | `Control + F` |
| Move right | Editor | `Right` |
| Move to beginning | Editor | `Command + Up` |
| Move to beginning of line | Editor | `Command + Left` |
| Move to beginning of line | Editor | `Control + A` |
| Move to beginning of line | Editor | `Home` |
| Move to enclosing bracket | Editor | `Control + M` |
| Move to end | Editor | `Command + Down` |
| Move to end of line | Editor | `Command + Right` |
| Move to end of line | Editor | `Control + E` |
| Move to end of line | Editor | `End` |
| Move to end of paragraph | Editor | `Control + Down` |
| Move to next subword end | Editor | `Control + Alt + F` |
| Move to next subword end | Editor | `Control + Alt + Right` |
| Move to next word end | Editor | `Alt + F` |
| Move to next word end | Editor | `Alt + Right` |
| Move to previous subword start | Editor | `Control + Alt + B` |
| Move to previous subword start | Editor | `Control + Alt + Left` |
| Move to previous word start | Editor | `Alt + B` |
| Move to previous word start | Editor | `Alt + Left` |
| Move to start of paragraph | Editor | `Control + Up` |
| Move up | Editor | `Control + P` |
| Move up | Editor | `Up` |
| Next screen | Editor | `Control + L` |
| Open excerpts | Editor | `Alt + Enter` |
| Outdent | Editor | `Command + [` |
| Page down | Editor | `Page Down` |
| Page up | Editor | `Page Up` |
| Paste | Editor | `Command + V` |
| Redo | Editor | `Command + Shift + Z` |
| Redo selection | Editor | `Command + Shift + U` |
| Rename | Editor | `F2` |
| Reveal in finder | Editor | `Alt + Command + R` |
| Select all | Editor | `Command + A` |
| Select all matches | Editor | `Command + Shift + L` |
| Select down | Editor | `Control + Shift + N` |
| Select down | Editor | `Shift + Down` |
| Select larger syntax node | Editor | `Alt + Up` |
| Select left | Editor | `Control + Shift + B` |
| Select left | Editor | `Shift + Left` |
| Select line | Editor | `Command + L` |
| Select next | Editor | `Command + D` |
| Select next | Editor | `Command + K, Command + D` |
| Select previous | Editor | `Command + K, Control + Command + D` |
| Select previous | Editor | `Control + Command + D` |
| Select right | Editor | `Control + Shift + F` |
| Select right | Editor | `Shift + Right` |
| Select smaller syntax node | Editor | `Alt + Down` |
| Select to beginning | Editor | `Command + Shift + Up` |
| Select to beginning of line | Editor | `Command + Shift + Left` |
| Select to beginning of line | Editor | `Control + Shift + A` |
| Select to beginning of line | Editor | `Shift + Home` |
| Select to end | Editor | `Command + Shift + Down` |
| Select to end of line | Editor | `Command + Shift + Right` |
| Select to end of line | Editor | `Control + Shift + E` |
| Select to end of line | Editor | `Shift + End` |
| Select to end of paragraph | Editor | `Control + Shift + Down` |
| Select to next subword end | Editor | `Control + Alt + Shift + F` |
| Select to next subword end | Editor | `Control + Alt + Shift + Right` |
| Select to next word end | Editor | `Alt + Shift + F` |
| Select to next word end | Editor | `Alt + Shift + Right` |
| Select to previous subword start | Editor | `Control + Alt + Shift + B` |
| Select to previous subword start | Editor | `Control + Alt + Shift + Left` |
| Select to previous word start | Editor | `Alt + Shift + B` |
| Select to previous word start | Editor | `Alt + Shift + Left` |
| Select to start of paragraph | Editor | `Control + Shift + Up` |
| Select up | Editor | `Control + Shift + P` |
| Select up | Editor | `Shift + Up` |
| Show character palette | Editor | `Control + Command + Space` |
| Show completions | Editor | `Control + Space` |
| Tab | Editor | `Tab` |
| Tab prev | Editor | `Shift + Tab` |
| Toggle code actions | Editor | `Command + .` |
| Toggle comments | Editor | `Command + /` |
| Transpose | Editor | `Control + T` |
| Undo | Editor | `Command + Z` |
| Undo selection | Editor | `Command + U` |
| Unfold lines | Editor | `Alt + Command + ]` |
| **Command** | **Target** | **Default Shortcut** |
| -------------------------------- | ---------- | ------------------------------------- |
| Inline assist | Assistant | `Control` + `Enter` |
| Add selection above | Editor | `⌘` + `Alt` + `Up` |
| Add selection above | Editor | `⌘` + `Control` + `P` |
| Add selection below | Editor | `⌘` + `Alt` + `Down` |
| Add selection below | Editor | `⌘` + `Control` + `N` |
| Backspace | Editor | `Backspace` |
| Backspace | Editor | `Control` + `H` |
| Backspace | Editor | `Shift` + `Backspace` |
| Cancel | Editor | `Escape` |
| Confirm code action | Editor | `Enter` |
| Confirm completion | Editor | `Enter` |
| Confirm completion | Editor | `Tab` |
| Confirm rename | Editor | `Enter` |
| Context menu first | Editor | `Page Up` |
| Context menu last | Editor | `Page Down` |
| Context menu next | Editor | `Control` + `N` |
| Context menu next | Editor | `Down` |
| Context menu prev | Editor | `Control` + `P` |
| Context menu prev | Editor | `Up` |
| Copy | Editor | `⌘` + `C` |
| Cut | Editor | `⌘` + `X` |
| Cut to end of line | Editor | `Control` + `K` |
| Delete | Editor | `Control` + `D` |
| Delete | Editor | `Delete` |
| Delete line | Editor | `Control` + `Shift` + `K` |
| Delete to beginning of line | Editor | `⌘` + `Backspace` |
| Delete to end of line | Editor | `⌘` + `Delete` |
| Delete to next subword end | Editor | `Control` + `Alt` + `D` |
| Delete to next subword end | Editor | `Control` + `Alt` + `Delete` |
| Delete to next word end | Editor | `Alt` + `D` |
| Delete to next word end | Editor | `Alt` + `Delete` |
| Delete to previous subword start | Editor | `Control` + `Alt` + `Backspace` |
| Delete to previous subword start | Editor | `Control` + `Alt` + `H` |
| Delete to previous word start | Editor | `Alt` + `Backspace` |
| Delete to previous word start | Editor | `Alt` + `H` |
| Duplicate line | Editor | `⌘` + `Shift` + `D` |
| Find all references | Editor | `Alt` + `Shift` + `F12` |
| Fold | Editor | `Alt` + `⌘` + `[` |
| Format | Editor | `⌘` + `Shift` + `I` |
| Go to definition | Editor | `F12` |
| Go to definition split | Editor | `Alt` + `F12` |
| Go to diagnostic | Editor | `F8` |
| Go to hunk | Editor | `⌘` + `F8` |
| Go to prev diagnostic | Editor | `Shift` + `F8` |
| Go to prev hunk | Editor | `⌘` + `Shift` + `F8` |
| Go to type definition | Editor | `⌘` + `F12` |
| Go to type definition split | Editor | `Alt` + `⌘` + `F12` |
| Hover | Editor | `⌘` + `K`, `⌘` + `I` |
| Indent | Editor | `⌘` + `]` |
| Join lines | Editor | `Control` + `J` |
| Move down | Editor | `Control` + `N` |
| Move down | Editor | `Down` |
| Move left | Editor | `Control` + `B` |
| Move left | Editor | `Left` |
| Move line down | Editor | `Control` + `⌘` + `Down` |
| Move line up | Editor | `Control` + `⌘` + `Up` |
| Move page down | Editor | `Control` + `V` |
| Move page down | Editor | `Shift` + `Page Down` |
| Move page up | Editor | `Alt` + `V` |
| Move page up | Editor | `Shift` + `Page Up` |
| Move right | Editor | `Control` + `F` |
| Move right | Editor | `Right` |
| Move to beginning | Editor | `⌘` + `Up` |
| Move to beginning of line | Editor | `⌘` + `Left` |
| Move to beginning of line | Editor | `Control` + `A` |
| Move to beginning of line | Editor | `Home` |
| Move to enclosing bracket | Editor | `Control` + `M` |
| Move to end | Editor | `⌘` + `Down` |
| Move to end of line | Editor | `⌘` + `Right` |
| Move to end of line | Editor | `Control` + `E` |
| Move to end of line | Editor | `End` |
| Move to end of paragraph | Editor | `Control` + `Down` |
| Move to next subword end | Editor | `Control` + `Alt` + `F` |
| Move to next subword end | Editor | `Control` + `Alt` + `Right` |
| Move to next word end | Editor | `Alt` + `F` |
| Move to next word end | Editor | `Alt` + `Right` |
| Move to previous subword start | Editor | `Control` + `Alt` + `B` |
| Move to previous subword start | Editor | `Control` + `Alt` + `Left` |
| Move to previous word start | Editor | `Alt` + `B` |
| Move to previous word start | Editor | `Alt` + `Left` |
| Move to start of paragraph | Editor | `Control` + `Up` |
| Move up | Editor | `Control` + `P` |
| Move up | Editor | `Up` |
| Next screen | Editor | `Control` + `L` |
| Open excerpts | Editor | `Alt` + `Enter` |
| Outdent | Editor | `⌘` + `[` |
| Page down | Editor | `Page Down` |
| Page up | Editor | `Page Up` |
| Paste | Editor | `⌘` + `V` |
| Redo | Editor | `⌘` + `Shift` + `Z` |
| Redo selection | Editor | `⌘` + `Shift` + `U` |
| Rename | Editor | `F2` |
| Reveal in finder | Editor | `Alt` + `⌘` + `R` |
| Select all | Editor | `⌘` + `A` |
| Select all matches | Editor | `⌘` + `Shift` + `L` |
| Select down | Editor | `Control` + `Shift` + `N` |
| Select down | Editor | `Shift` + `Down` |
| Select larger syntax node | Editor | `Alt` + `Up` |
| Select left | Editor | `Control` + `Shift` + `B` |
| Select left | Editor | `Shift` + `Left` |
| Select line | Editor | `⌘` + `L` |
| Select next | Editor | `⌘` + `D` |
| Select next | Editor | `⌘` + `K`, `⌘` + `D` |
| Select previous | Editor | `⌘` + `K`, `Control` + `⌘` + `D` |
| Select previous | Editor | `Control` + `⌘` + `D` |
| Select right | Editor | `Control` + `Shift` + `F` |
| Select right | Editor | `Shift` + `Right` |
| Select smaller syntax node | Editor | `Alt` + `Down` |
| Select to beginning | Editor | `⌘` + `Shift` + `Up` |
| Select to beginning of line | Editor | `⌘` + `Shift` + `Left` |
| Select to beginning of line | Editor | `Control` + `Shift` + `A` |
| Select to beginning of line | Editor | `Shift` + `Home` |
| Select to end | Editor | `⌘` + `Shift` + `Down` |
| Select to end of line | Editor | `⌘` + `Shift` + `Right` |
| Select to end of line | Editor | `Control` + `Shift` + `E` |
| Select to end of line | Editor | `Shift` + `End` |
| Select to end of paragraph | Editor | `Control` + `Shift` + `Down` |
| Select to next subword end | Editor | `Control` + `Alt` + `Shift` + `F` |
| Select to next subword end | Editor | `Control` + `Alt` + `Shift` + `Right` |
| Select to next word end | Editor | `Alt` + `Shift` + `F` |
| Select to next word end | Editor | `Alt` + `Shift` + `Right` |
| Select to previous subword start | Editor | `Control` + `Alt` + `Shift` + `B` |
| Select to previous subword start | Editor | `Control` + `Alt` + `Shift` + `Left` |
| Select to previous word start | Editor | `Alt` + `Shift` + `B` |
| Select to previous word start | Editor | `Alt` + `Shift` + `Left` |
| Select to start of paragraph | Editor | `Control` + `Shift` + `Up` |
| Select up | Editor | `Control` + `Shift` + `P` |
| Select up | Editor | `Shift` + `Up` |
| Show character palette | Editor | `Control` + `⌘` + `Space` |
| Show completions | Editor | `Control` + `Space` |
| Tab | Editor | `Tab` |
| Tab prev | Editor | `Shift` + `Tab` |
| Toggle code actions | Editor | `⌘` + `.` |
| Toggle comments | Editor | `⌘` + `/` |
| Transpose | Editor | `Control` + `T` |
| Undo | Editor | `⌘` + `Z` |
| Undo selection | Editor | `⌘` + `U` |
| Unfold lines | Editor | `Alt` + `⌘` + `]` |
#### Editor (Full Only)
| **Command** | **Target** | **Default Shortcut** |
| ------------------- | ------------- | ------------------------- |
| Quote selection | Assistant | `Command + >` |
| Deploy | Buffer Search | `Command + E` |
| Deploy | Buffer Search | `Command + F` |
| Next suggestion | Copilot | `Alt + ]` |
| Previous suggestion | Copilot | `Alt + [` |
| Suggest | Copilot | `Alt + \` |
| Newline | Editor | `Enter` |
| Newline | Editor | `Shift + Enter` |
| Newline above | Editor | `Command + Shift + Enter` |
| Newline below | Editor | `Command + Enter` |
| Toggle soft wrap | Editor | `Alt + Z` |
| Toggle | Go To Line | `Control + G` |
| Toggle | Outline | `Command + Shift + O` |
| **Command** | **Target** | **Default Shortcut** |
| ------------------- | ------------- | ----------------------- |
| Quote selection | Assistant | `⌘` + `>` |
| Deploy | Buffer Search | `⌘` + `E` |
| Deploy | Buffer Search | `⌘` + `F` |
| Next suggestion | Copilot | `Alt` + `]` |
| Previous suggestion | Copilot | `Alt` + `[` |
| Suggest | Copilot | `Alt` + `\` |
| Newline | Editor | `Enter` |
| Newline | Editor | `Shift` + `Enter` |
| Newline above | Editor | `⌘` + `Shift` + `Enter` |
| Newline below | Editor | `⌘` + `Enter` |
| Toggle soft wrap | Editor | `Alt` + `Z` |
| Toggle | Go To Line | `Control` + `G` |
| Toggle | Outline | `⌘` + `Shift` + `O` |
#### Editor (Auto Height Only)
| **Command** | **Target** | **Default Shortcut** |
| ------------- | ---------- | ------------------------- |
| Newline | Editor | `Control + Enter` |
| Newline below | Editor | `Control + Shift + Enter` |
| **Command** | **Target** | **Default Shortcut** |
| ------------- | ---------- | ----------------------------- |
| Newline | Editor | `Control` + `Enter` |
| Newline below | Editor | `Control` + `Shift` + `Enter` |
#### Pane
| **Command** | **Target** | **Default Shortcut** |
| ---------------------- | -------------- | --------------------- |
| Activate item 1 | Pane | `Control + 1` |
| Activate item 2 | Pane | `Control + 2` |
| Activate item 3 | Pane | `Control + 3` |
| Activate item 4 | Pane | `Control + 4` |
| Activate item 5 | Pane | `Control + 5` |
| Activate item 6 | Pane | `Control + 6` |
| Activate item 7 | Pane | `Control + 7` |
| Activate item 8 | Pane | `Control + 8` |
| Activate item 9 | Pane | `Control + 9` |
| Activate last item | Pane | `Control + 0` |
| Go back | Pane | `Control + ` |
| Go forward | Pane | `Control + _` |
| Reopen closed item | Pane | `Command + Shift + T` |
| Split down | Pane | `Command + K, Down` |
| Split left | Pane | `Command + K, Left` |
| Split right | Pane | `Command + K, Right` |
| Split up | Pane | `Command + K, Up` |
| Toggle filters | Project Search | `Alt + Command + F` |
| Toggle focus | Project Search | `Command + F` |
| Toggle focus | Project Search | `Command + Shift + F` |
| Activate regex mode | Search | `Alt + Command + G` |
| Activate semantic mode | Search | `Alt + Command + S` |
| Activate text mode | Search | `Alt + Command + X` |
| Cycle mode | Search | `Alt + Tab` |
| Select all matches | Search | `Alt + Enter` |
| Select next match | Search | `Command + G` |
| Select prev match | Search | `Command + Shift + G` |
| Toggle case sensitive | Search | `Alt + Command + C` |
| Toggle replace | Search | `Command + Shift + H` |
| Toggle whole word | Search | `Alt + Command + W` |
| **Command** | **Target** | **Default Shortcut** |
| ---------------------- | -------------- | -------------------- |
| Activate item 1 | Pane | `Control` + `1` |
| Activate item 2 | Pane | `Control` + `2` |
| Activate item 3 | Pane | `Control` + `3` |
| Activate item 4 | Pane | `Control` + `4` |
| Activate item 5 | Pane | `Control` + `5` |
| Activate item 6 | Pane | `Control` + `6` |
| Activate item 7 | Pane | `Control` + `7` |
| Activate item 8 | Pane | `Control` + `8` |
| Activate item 9 | Pane | `Control` + `9` |
| Activate last item | Pane | `Control` + `0` |
| Go back | Pane | `Control` + ` ` |
| Go forward | Pane | `Control` + `_` |
| Reopen closed item | Pane | `⌘` + `Shift` + `T` |
| Split down | Pane | `⌘` + `K`, `Down` |
| Split left | Pane | `⌘` + `K`, `Left` |
| Split right | Pane | `⌘` + `K`, `Right` |
| Split up | Pane | `⌘` + `K`, `Up` |
| Toggle filters | Project Search | `Alt` + `⌘` + `F` |
| Toggle focus | Project Search | `⌘` + `F` |
| Toggle focus | Project Search | `⌘` + `Shift` + `F` |
| Activate regex mode | Search | `Alt` + `⌘` + `G` |
| Activate semantic mode | Search | `Alt` + `⌘` + `S` |
| Activate text mode | Search | `Alt` + `⌘` + `X` |
| Cycle mode | Search | `Alt` + `Tab` |
| Select all matches | Search | `Alt` + `Enter` |
| Select next match | Search | `⌘` + `G` |
| Select prev match | Search | `⌘` + `Shift` + `G` |
| Toggle case sensitive | Search | `Alt` + `⌘` + `C` |
| Toggle replace | Search | `⌘` + `Shift` + `H` |
| Toggle whole word | Search | `Alt` + `⌘` + `W` |
#### Buffer Search Bar
@ -306,100 +306,100 @@ _There are some key bindings that can't be overridden; we are working on an issu
| ---------------------- | ------------- | -------------------- |
| Dismiss | Buffer Search | `Escape` |
| Focus editor | Buffer Search | `Tab` |
| Cycle mode | Search | `Alt + Tab` |
| Cycle mode | Search | `Alt` + `Tab` |
| Next history query | Search | `Down` |
| Previous history query | Search | `Up` |
| Replace all | Search | `Command + Enter` |
| Replace next | Search | `Enter` |
| Select all matches | Search | `Alt + Enter` |
| Select all matches | Search | `Alt` + `Enter` |
| Select next match | Search | `Enter` |
| Select prev match | Search | `Shift + Enter` |
| Select prev match | Search | `Shift` + `Enter` |
#### Workspace
| **Command** | **Target** | **Default Shortcut** |
| ------------------ | ----------------- | -------------------------- |
| Toggle focus | Assistant | `Command + ?` |
| Toggle | Command Palette | `Command + Shift + P` |
| Deploy | Diagnostics | `Command + Shift + M` |
| Toggle | File Finder | `Command + P` |
| Toggle | Language Selector | `Command + K, M` |
| Toggle focus | Project Panel | `Command + Shift + E` |
| Toggle | Project Symbols | `Command + T` |
| Toggle | Theme Selector | `Command + K, Command + T` |
| Activate pane 1 | Workspace | `Command + 1` |
| Activate pane 2 | Workspace | `Command + 2` |
| Activate pane 3 | Workspace | `Command + 3` |
| Activate pane 4 | Workspace | `Command + 4` |
| Activate pane 5 | Workspace | `Command + 5` |
| Activate pane 6 | Workspace | `Command + 6` |
| Activate pane 7 | Workspace | `Command + 7` |
| Activate pane 8 | Workspace | `Command + 8` |
| Activate pane 9 | Workspace | `Command + 9` |
| Close all docks | Workspace | `Alt + Command + Y` |
| New search | Workspace | `Command + Shift + F` |
| Save all | Workspace | `Command + Alt + S` |
| Toggle bottom dock | Workspace | `Command + J` |
| Toggle left dock | Workspace | `Command + B` |
| Toggle right dock | Workspace | `Command + R` |
| Open keymap | Zed | `Command + K, Command + S` |
| **Command** | **Target** | **Default Shortcut** |
| ------------------ | ----------------- | -------------------- |
| Toggle focus | Assistant | `⌘` + `?` |
| Toggle | Command Palette | `⌘` + `Shift` + `P` |
| Deploy | Diagnostics | `⌘` + `Shift` + `M` |
| Toggle | File Finder | `⌘` + `P` |
| Toggle | Language Selector | `⌘` + `K`, `M` |
| Toggle focus | Project Panel | `⌘` + `Shift` + `E` |
| Toggle | Project Symbols | `⌘` + `T` |
| Toggle | Theme Selector | `⌘` + `K`, `⌘` + `T` |
| Activate pane 1 | Workspace | `⌘` + `1` |
| Activate pane 2 | Workspace | `⌘` + `2` |
| Activate pane 3 | Workspace | `⌘` + `3` |
| Activate pane 4 | Workspace | `⌘` + `4` |
| Activate pane 5 | Workspace | `⌘` + `5` |
| Activate pane 6 | Workspace | `⌘` + `6` |
| Activate pane 7 | Workspace | `⌘` + `7` |
| Activate pane 8 | Workspace | `⌘` + `8` |
| Activate pane 9 | Workspace | `⌘` + `9` |
| Close all docks | Workspace | `Alt` + `⌘` + `Y` |
| New search | Workspace | `⌘` + `Shift` + `F` |
| Save all | Workspace | `⌘` + `Alt` + `S` |
| Toggle bottom dock | Workspace | `⌘` + `J` |
| Toggle left dock | Workspace | `⌘` + `B` |
| Toggle right dock | Workspace | `⌘` + `R` |
| Open keymap | Zed | `⌘` + `K`, `⌘` + `S` |
#### Project Panel
| **Command** | **Target** | **Default Shortcut** |
| ----------------------- | ------------- | --------------------------- |
| Collapse selected entry | Project Panel | `Left` |
| Copy | Project Panel | `Command + C` |
| Copy path | Project Panel | `Command + Alt + C` |
| Copy relative path | Project Panel | `Alt + Command + Shift + C` |
| Cut | Project Panel | `Command + X` |
| Copy | Project Panel | `⌘` + `C` |
| Copy path | Project Panel | `⌘` + `Alt` + `C` |
| Copy relative path | Project Panel | `Alt` + `⌘` + `Shift` + `C` |
| Cut | Project Panel | `⌘` + `X` |
| Delete | Project Panel | `Backspace` |
| Expand selected entry | Project Panel | `Right` |
| New directory | Project Panel | `Alt + Command + N` |
| New directory | Project Panel | `Alt` + `⌘` + `N` |
| New file | Project Panel | `Command + N` |
| New search in directory | Project Panel | `Alt + Shift + F` |
| New search in directory | Project Panel | `Alt` + `Shift` + `F` |
| Open | Project Panel | `Space` |
| Paste | Project Panel | `Command + V` |
| Paste | Project Panel | `⌘` + `V` |
| Rename | Project Panel | `Enter` |
| Rename | Project Panel | `F2` |
| Reveal in finder | Project Panel | `Alt + Command + R` |
| Reveal in finder | Project Panel | `Alt` + `⌘` + `R` |
#### Project Search Bar
| **Command** | **Target** | **Default Shortcut** |
| ---------------------- | -------------- | --------------------- |
| Search in new | Project Search | `Command + Enter` |
| Toggle focus | Project Search | `Escape` |
| Activate regex mode | Search | `Alt + Command + G` |
| Activate semantic mode | Search | `Alt + Command + S` |
| Activate text mode | Search | `Alt + Command + X` |
| Cycle mode | Search | `Alt + Tab` |
| Next history query | Search | `Down` |
| Previous history query | Search | `Up` |
| Replace all | Search | `Command + Enter` |
| Replace next | Search | `Enter` |
| Toggle replace | Search | `Command + Shift + H` |
| **Command** | **Target** | **Default Shortcut** |
| ---------------------- | -------------- | -------------------- |
| Search in new | Project Search | `⌘` + `Enter` |
| Toggle focus | Project Search | `Escape` |
| Activate regex mode | Search | `Alt` + `⌘` + `G` |
| Activate semantic mode | Search | `Alt` + `⌘` + `S` |
| Activate text mode | Search | `Alt` + `⌘` + `X` |
| Cycle mode | Search | `Alt` + `Tab` |
| Next history query | Search | `Down` |
| Previous history query | Search | `Up` |
| Replace all | Search | `Command + Enter` |
| Replace next | Search | `Enter` |
| Toggle replace | Search | `⌘` + `Shift` + `H` |
#### Terminal
| **Command** | **Target** | **Default Shortcut** |
| --------------------------- | ---------- | --------------------------- |
| Clear | Terminal | `Command + K` |
| Copy | Terminal | `Command + C` |
| Delete line | Terminal | `Command + Backspace` |
| Move to beginning of line | Terminal | `Command + Left` |
| Move to end of line | Terminal | `Command + Right` |
| Move to next word end | Terminal | `Alt + Right` |
| Move to previous word start | Terminal | `Alt + Left` |
| Paste | Terminal | `Command + V` |
| Show character palette | Terminal | `Control + Command + Space` |
| **Command** | **Target** | **Default Shortcut** |
| --------------------------- | ---------- | ------------------------- |
| Clear | Terminal | `⌘` + `K` |
| Copy | Terminal | `⌘` + `C` |
| Delete line | Terminal | `⌘` + `Backspace` |
| Move to beginning of line | Terminal | `⌘` + `Left` |
| Move to end of line | Terminal | `⌘` + `Right` |
| Move to next word end | Terminal | `Alt` + `Right` |
| Move to previous word start | Terminal | `Alt` + `Left` |
| Paste | Terminal | `⌘` + `V` |
| Show character palette | Terminal | `Control` + `⌘` + `Space` |
#### Assistant Editor
| **Command** | **Target** | **Default Shortcut** |
| ------------------ | ---------- | -------------------- |
| Assist | Assistant | `Command + Enter` |
| Cycle message role | Assistant | `Control + R` |
| Quote selection | Assistant | `Command + >` |
| Split | Assistant | `Shift + Enter` |
| Save | Workspace | `Command + S` |
| Assist | Assistant | `⌘` + `Enter` |
| Cycle message role | Assistant | `Control` + `R` |
| Quote selection | Assistant | `⌘` + `>` |
| Split | Assistant | `Shift` + `Enter` |
| Save | Workspace | `⌘` + `S` |