1# Key bindings
2
3Zed can be configured via a simple JSON file located at `~/.config/zed/keymap.json`.
4
5## Predefined keymaps
6
7We have a growing collection of pre-defined keymaps in [zed repository's keymaps folder](https://github.com/zed-industries/zed/tree/main/assets/keymaps). Our current keymaps include:
8
9- Atom
10- JetBrains
11- SublimeText
12- TextMate
13- VSCode (default)
14
15These keymaps can be set via the `base_keymap` setting in your `settings.json` file. Additionally, if you'd like to work from a clean slate, you can provide `"None"` to the setting.
16
17## Custom key bindings
18
19### Accessing custom key bindings
20
21You can open `keymap.json` via `โ` + `K`, `โ` + `S`, the command palette, or the `Zed > Settings > Open Key Bindings` application menu item.
22
23### Adding a custom key binding
24
25To customize key bindings, specify a context and the list of bindings to set. Re-mapping an existing binding will clobber the existing binding in favor of the custom one.
26
27An example of adding a set of custom key bindings:
28
29```json
30[
31 {
32 "context": "Editor",
33 "bindings": {
34 "ctrl-w": "editor::SelectLargerSyntaxNode",
35 "ctrl-shift-W": "editor::SelectSmallerSyntaxNode",
36 "ctrl-c": "editor::Cancel"
37 }
38 }
39]
40```
41
42You can see more examples in Zed's [`default.json`](https://github.com/zed-industries/zed/blob/main/assets/keymaps/default-macos.json)
43
44_There are some key bindings that can't be overridden; we are working on an issue surrounding this._
45
46### Keybinding syntax
47
48Zed has the ability to match against not just a single keypress, but a sequence of keys typed in order. Each key in the `"bindings"` map is a sequence of keypresses separated with a space.
49
50Each key press is a sequence of modifiers followed by a key. The modifiers are:
51
52- `ctrl-` The control key
53* `cmd-`, `win-` or `super-` for the platform modifier (Command on macOS, Windows key on Windows, and the Super key on Linux).
54- `alt-` for alt (option on macOS)
55- `shift-` The shift key
56- `fn-` The function key
57
58The keys can be any single unicode codepoint that your keyboard generates (for example `a`, `0`, `ยฃ` or `รง`), or any named key (`tab`, `f1`, `shift`, or `cmd`).
59
60A few examples:
61
62```
63 "bindings": {
64 "cmd-k cmd-s": "zed::OpenKeymap", // matches โ-k then โ-s
65 "space e": "editor::Complete", // type space then e
66 "รง": "editor::Complete", // matches โฅ-c
67 "shift shift": "file_finder::Toggle", // matches pressing and releasing shift twice
68 }
69```
70
71The `shift-` modifier can only be used in combination with a letter to indicate the uppercase version. For example `shift-g` matches typing `G`. Although on many keyboards shift is used to type punctuation characters like `(`, the keypress is not considered to be modified and so `shift-(` does not match.
72
73The `alt-` modifier can be used on many layouts to generate a different key. For example on macOS US keyboard the combination `alt-c` types `รง`. You can match against either in your keymap file, though by convention Zed spells this combination as `alt-c`.
74
75It is possible to match against typing a modifier key on its own. For example `shift shift` can be used to implement JetBrains search everywhere shortcut. In this case the binding happens on key release instead of key press.
76
77### Remapping keys
78
79A common request is to be able to map from one sequence of keys to another. As of Zed 0.124.0 you can do this with the `workspace::SendKeystrokes` action.
80
81```json
82[
83 {
84 "bindings": {
85 "alt-down": ["workspace::SendKeystrokes", "down down down down"],
86 "cmd-alt-c": [
87 "workspace::SendKeystrokes",
88 "cmd-shift-p copy relative path enter"
89 ],
90 "cmd-alt-r": ["workspace::SendKeystrokes", "cmd-p README enter"]
91 }
92 },
93 {
94 "context": "Editor && vim_mode == insert",
95 "bindings": {
96 "j k": ["workspace::SendKeystrokes", "escape"]
97 }
98 }
99]
100```
101
102There are some limitations to this, notably:
103
104- Any asynchronous operation will not happen until after all your key bindings have been dispatched. For example this means that while you can use a binding to open a file (as in the `cmd-alt-r` example) you cannot send further keystrokes and hope to have them interpreted by the new view.
105- - Other examples of asynchronous things are: communicating with a language server, changing the language of a buffer, anything that hits the network.
106- There is a limit of 100 simulated keys at a time, this is to avoid accidental infinite recursion if you trigger SendKeystrokes again inside your bindings.
107
108The argument to `SendKeystrokes` is a space-separated list of keystrokes (using the same syntax as above). Due to the way that keystrokes are parsed, any segment that is not recognized as a keypress will be sent verbatim to the currently focused input field.
109
110### Forward keys to terminal
111
112If you're on Linux or Windows, you might find yourself wanting to forward key combinations to the built-in terminal instead of them being handled by Zed.
113
114For example, `ctrl-n` creates a new tab in Zed on Linux. If you want to send `ctrl-n` to the built-in terminal when it's focused, add the following to your keymap:
115
116```json
117{
118 "context": "Terminal",
119 "bindings": {
120 "ctrl-n": ["terminal::SendKeystroke", "ctrl-n"]
121 }
122}
123```
124
125### Task Key bindings
126
127You can also bind keys to launch Zed Tasks defined in your tasks.json.
128See the [tasks documentation](/docs/tasks#custom-keybindings-for-tasks) for more.
129
130### All key bindings
131
132#### Global
133
134| **Command** | **Target** | **Default Shortcut** |
135| ------------------------- | ------------ | ----------------------- |
136| Toggle focus | Collab Panel | `โ + Shift + C` |
137| Toggle inlay hints | Editor | `Control + :` |
138| Cancel | Menu | `Control + C` |
139| Cancel | Menu | `Control + Escape` |
140| Cancel | Menu | `Escape` |
141| Cancel | Menu | `โ + Escape` |
142| Confirm | Menu | `Enter` |
143| Secondary confirm | Menu | `Control + Enter` |
144| Secondary confirm | Menu | `โ + Enter` |
145| Select first | Menu | `Page Up` |
146| Select first | Menu | `Shift + Page Down` |
147| Select first | Menu | `Shift + Page Up` |
148| Select first | Menu | `โ + Up` |
149| Select last | Menu | `Page Down` |
150| Select last | Menu | `โ + Down` |
151| Select next | Menu | `Control + N` |
152| Select next | Menu | `Down` |
153| Select prev | Menu | `Control + P` |
154| Select prev | Menu | `Up` |
155| Confirm input | Picker | `Alt + Enter` |
156| Confirm input | Picker | `โ + Alt + Enter` |
157| Use selected query | Picker | `Shift + Enter` |
158| Close window | Workspace | `โ + Shift + W` |
159| Follow next collaborator | Workspace | `Control + Alt + โ + F` |
160| Open | Workspace | `โ + O` |
161| Toggle zoom | Workspace | `Shift + Escape` |
162| Debug elements | Zed | `โ + Alt + I` |
163| Decrease buffer font size | Zed | `โ + -` |
164| Hide | Zed | `โ + H` |
165| Hide others | Zed | `Alt + โ + H` |
166| Increase buffer font size | Zed | `โ + +` |
167| Increase buffer font size | Zed | `โ + =` |
168| Minimize | Zed | `โ + M` |
169| Open settings | Zed | `โ + ,` |
170| Quit | Zed | `โ + Q` |
171| Reset buffer font size | Zed | `โ + 0` |
172| Toggle full screen | Zed | `Control + โ + F` |
173
174#### Editor
175
176| **Command** | **Target** | **Default Shortcut** |
177| -------------------------------- | ---------- | ------------------------------- |
178| Add selection above | Editor | `โ + Alt + Up` |
179| Add selection above | Editor | `โ + Control + P` |
180| Add selection below | Editor | `โ + Alt + Down` |
181| Add selection below | Editor | `โ + Control + N` |
182| Backspace | Editor | `Backspace` |
183| Backspace | Editor | `Control + H` |
184| Backspace | Editor | `Shift + Backspace` |
185| Cancel | Editor | `Escape` |
186| Confirm code action | Editor | `Enter` |
187| Confirm completion | Editor | `Enter` |
188| Confirm completion | Editor | `Tab` |
189| Confirm rename | Editor | `Enter` |
190| Context menu first | Editor | `Page Up` |
191| Context menu last | Editor | `Page Down` |
192| Context menu next | Editor | `Control + N` |
193| Context menu next | Editor | `Down` |
194| Context menu prev | Editor | `Control + P` |
195| Context menu prev | Editor | `Up` |
196| Copy | Editor | `โ + C` |
197| Cut | Editor | `โ + X` |
198| Cut to end of line | Editor | `Control + K` |
199| Delete | Editor | `Control + D` |
200| Delete | Editor | `Delete` |
201| Delete line | Editor | `โ + Shift + K` |
202| Delete to beginning of line | Editor | `โ + Backspace` |
203| Delete to end of line | Editor | `โ + Delete` |
204| Delete to next subword end | Editor | `Control + Alt + D` |
205| Delete to next subword end | Editor | `Control + Alt + Delete` |
206| Delete to next word end | Editor | `Alt + D` |
207| Delete to next word end | Editor | `Alt + Delete` |
208| Delete to previous subword start | Editor | `Control + Alt + Backspace` |
209| Delete to previous subword start | Editor | `Control + Alt + H` |
210| Delete to previous word start | Editor | `Alt + Backspace` |
211| Delete to previous word start | Editor | `Alt + H` |
212| Delete to previous word start | Editor | `Control + W` |
213| Display cursor names | Editor | `Control + โ + C` |
214| Duplicate line down | Editor | `Alt + Shift + Down` |
215| Duplicate line up | Editor | `Alt + Shift + Up` |
216| Find all references | Editor | `Alt + Shift + F12` |
217| Fold | Editor | `Alt + โ + [` |
218| Format | Editor | `โ + Shift + I` |
219| Go to definition | Editor | `F12` |
220| Go to definition split | Editor | `Alt + F12` |
221| Go to diagnostic | Editor | `F8` |
222| Go to implementation | Editor | `Shift + F12` |
223| Go to prev diagnostic | Editor | `Shift + F8` |
224| Go to type definition | Editor | `โ + F12` |
225| Go to type definition split | Editor | `Alt + โ + F12` |
226| Hover | Editor | `โ + K, โ + I` |
227| Indent | Editor | `โ + ]` |
228| Join lines | Editor | `Control + J` |
229| Move down | Editor | `Control + N` |
230| Move down | Editor | `Down` |
231| Move left | Editor | `Control + B` |
232| Move left | Editor | `Left` |
233| Move line down | Editor | `Alt + Down` |
234| Move line up | Editor | `Alt + Up` |
235| Move page down | Editor | `Control + V` |
236| Move page down | Editor | `Shift + Page Down` |
237| Move page up | Editor | `Alt + V` |
238| Move page up | Editor | `Shift + Page Up` |
239| Move right | Editor | `Control + F` |
240| Move right | Editor | `Right` |
241| Move to beginning | Editor | `โ + Up` |
242| Move to beginning of line | Editor | `Control + A` |
243| Move to beginning of line | Editor | `Home` |
244| Move to beginning of line | Editor | `โ + Left` |
245| Move to enclosing bracket | Editor | `Control + M` |
246| Move to end | Editor | `โ + Down` |
247| Move to end of line | Editor | `Control + E` |
248| Move to end of line | Editor | `End` |
249| Move to end of line | Editor | `โ + Right` |
250| Move to end of paragraph | Editor | `Control + Down` |
251| Move to next subword end | Editor | `Control + Alt + F` |
252| Move to next subword end | Editor | `Control + Alt + Right` |
253| Move to next word end | Editor | `Alt + F` |
254| Move to next word end | Editor | `Alt + Right` |
255| Move to previous subword start | Editor | `Control + Alt + B` |
256| Move to previous subword start | Editor | `Control + Alt + Left` |
257| Move to previous word start | Editor | `Alt + B` |
258| Move to previous word start | Editor | `Alt + Left` |
259| Move to start of paragraph | Editor | `Control + Up` |
260| Move up | Editor | `Control + P` |
261| Move up | Editor | `Up` |
262| Next screen | Editor | `Control + L` |
263| Outdent | Editor | `โ + [` |
264| Page down | Editor | `Page Down` |
265| Page up | Editor | `Page Up` |
266| Paste | Editor | `โ + V` |
267| Redo | Editor | `โ + Shift + Z` |
268| Redo selection | Editor | `โ + Shift + U` |
269| Rename | Editor | `F2` |
270| Reveal in File Manager | Editor | `Alt + โ + R` |
271| Toggle hunk diff | Editor | `โ + '` |
272| Expand all hunk diffs | Editor | `โ + "` |
273| Revert selected hunks | Editor | `โ + Alt + Z` |
274| Select all | Editor | `โ + A` |
275| Select all matches | Editor | `โ + Shift + L` |
276| Select down | Editor | `Control + Shift + N` |
277| Select down | Editor | `Shift + Down` |
278| Select larger syntax node | Editor | `Control + Shift + Right` |
279| Select left | Editor | `Control + Shift + B` |
280| Select left | Editor | `Shift + Left` |
281| Select line | Editor | `โ + L` |
282| Select next | Editor | `โ + D` |
283| Select next | Editor | `โ + K, โ + D` |
284| Select previous | Editor | `Control + โ + D` |
285| Select previous | Editor | `โ + K, Control + โ + D` |
286| Select right | Editor | `Control + Shift + F` |
287| Select right | Editor | `Shift + Right` |
288| Select smaller syntax node | Editor | `Control + Shift + Left` |
289| Select to beginning | Editor | `โ + Shift + Up` |
290| Select to beginning of line | Editor | `Control + Shift + A` |
291| Select to beginning of line | Editor | `Shift + Home` |
292| Select to beginning of line | Editor | `โ + Shift + Left` |
293| Select to end | Editor | `โ + Shift + Down` |
294| Select to end of line | Editor | `Control + Shift + E` |
295| Select to end of line | Editor | `Shift + End` |
296| Select to end of line | Editor | `โ + Shift + Right` |
297| Select to end of paragraph | Editor | `Control + Shift + Down` |
298| Select to next subword end | Editor | `Control + Alt + Shift + F` |
299| Select to next subword end | Editor | `Control + Alt + Shift + Right` |
300| Select to next word end | Editor | `Alt + Shift + F` |
301| Select to next word end | Editor | `Alt + Shift + Right` |
302| Select to previous subword start | Editor | `Control + Alt + Shift + B` |
303| Select to previous subword start | Editor | `Control + Alt + Shift + Left` |
304| Select to previous word start | Editor | `Alt + Shift + B` |
305| Select to previous word start | Editor | `Alt + Shift + Left` |
306| Select to start of paragraph | Editor | `Control + Shift + Up` |
307| Select up | Editor | `Control + Shift + P` |
308| Select up | Editor | `Shift + Up` |
309| Show character palette | Editor | `Control + โ + Space` |
310| Show completions | Editor | `Control + Space` |
311| Show inline completion | Editor | `Alt + \` |
312| Tab | Editor | `Tab` |
313| Tab prev | Editor | `Shift + Tab` |
314| Toggle code actions | Editor | `โ + .` |
315| Toggle comments | Editor | `โ + /` |
316| Toggle git blame | Editor | `โ + Alt + G, B` |
317| Toggle line numbers | Editor | `โ + ;` |
318| Transpose | Editor | `Control + T` |
319| Undo | Editor | `โ + Z` |
320| Undo selection | Editor | `โ + U` |
321| Unfold lines | Editor | `Alt + โ + ]` |
322
323#### Editor (Full Only)
324
325| **Command** | **Target** | **Default Shortcut** |
326| -------------------------------- | ------------- | -------------------- |
327| Inline assist | Assistant | `Control + Enter` |
328| Quote selection | Assistant | `โ + >` |
329| Deploy | Buffer Search | `โ + Alt + F` |
330| Deploy | Buffer Search | `โ + E` |
331| Deploy | Buffer Search | `โ + F` |
332| Accept partial inline completion | Editor | `Alt + Right` |
333| Go to hunk | Editor | `โ + F8` |
334| Go to prev hunk | Editor | `โ + Shift + F8` |
335| Newline | Editor | `Enter` |
336| Newline | Editor | `Shift + Enter` |
337| Newline above | Editor | `โ + Shift + Enter` |
338| Newline below | Editor | `โ + Enter` |
339| Next inline completion | Editor | `Alt + ]` |
340| Open excerpts | Editor | `Alt + Enter` |
341| Open excerpts split | Editor | `โ + K, Enter` |
342| Previous inline completion | Editor | `Alt + [` |
343| Toggle soft wrap | Editor | `Alt + Z` |
344| Toggle | Go To Line | `Control + G` |
345| Toggle | Outline | `โ + Shift + O` |
346
347#### Editor (Auto Height Only)
348
349| **Command** | **Target** | **Default Shortcut** |
350| ------------- | ---------- | ------------------------- |
351| Newline | Editor | `Control + Enter` |
352| Newline | Editor | `Shift + Enter` |
353| Newline below | Editor | `Control + Shift + Enter` |
354
355#### Pane
356
357| **Command** | **Target** | **Default Shortcut** |
358| ----------------------------- | -------------- | ----------------------- |
359| Activate item 1 | Pane | `Control + 1` |
360| Activate item 2 | Pane | `Control + 2` |
361| Activate item 3 | Pane | `Control + 3` |
362| Activate item 4 | Pane | `Control + 4` |
363| Activate item 5 | Pane | `Control + 5` |
364| Activate item 6 | Pane | `Control + 6` |
365| Activate item 7 | Pane | `Control + 7` |
366| Activate item 8 | Pane | `Control + 8` |
367| Activate item 9 | Pane | `Control + 9` |
368| Activate last item | Pane | `Control + 0` |
369| Activate next item | Pane | `Alt + โ + Right` |
370| Activate next item | Pane | `โ + }` |
371| Activate prev item | Pane | `Alt + โ + Left` |
372| Activate prev item | Pane | `โ + {` |
373| Close active item | Pane | `โ + W` |
374| Close all items | Pane | `โ + K, โ + W` |
375| Close clean items | Pane | `โ + K, U` |
376| Close inactive items | Pane | `Alt + โ + T` |
377| Go back | Pane | `Control + -` |
378| Go forward | Pane | `Control + _` |
379| Reopen closed item | Pane | `โ + Shift + T` |
380| Split down | Pane | `โ + K, Down` |
381| Split left | Pane | `โ + K, Left` |
382| Split right | Pane | `โ + K, Right` |
383| Split up | Pane | `โ + K, Up` |
384| Toggle filters | Project Search | `Alt + โ + F` |
385| Toggle focus | Project Search | `โ + F` |
386| Toggle focus | Project Search | `โ + Shift + F` |
387| Activate regex mode | Search | `Alt + โ + G` |
388| Activate text mode | Search | `Alt + โ + X` |
389| Cycle mode | Search | `Alt + Tab` |
390| Select all matches | Search | `Alt + Enter` |
391| Select next match | Search | `โ + G` |
392| Select prev match | Search | `โ + Shift + G` |
393| Toggle case sensitive | Search | `Alt + โ + C` |
394| Toggle replace | Search | `โ + Shift + H` |
395| Toggle whole word | Search | `Alt + โ + W` |
396| Close inactive tabs and panes | Workspace | `Control + Alt + โ + W` |
397
398#### Buffer Search Bar
399
400| **Command** | **Target** | **Default Shortcut** |
401| ---------------------- | ------------- | -------------------- |
402| Dismiss | Buffer Search | `Escape` |
403| Focus editor | Buffer Search | `Tab` |
404| Cycle mode | Search | `Alt + Tab` |
405| Focus search | Search | `โ + F` |
406| Next history query | Search | `Down` |
407| Previous history query | Search | `Up` |
408| Replace all | Search | `โ + Enter` |
409| Replace next | Search | `Enter` |
410| Select all matches | Search | `Alt + Enter` |
411| Select next match | Search | `Enter` |
412| Select prev match | Search | `Shift + Enter` |
413| Toggle replace | Search | `โ + Alt + F` |
414
415#### Workspace
416
417| **Command** | **Target** | **Default Shortcut** |
418| -------------------------------- | ----------------- | ----------------------- |
419| Toggle focus | Assistant | `โ + ?` |
420| Open recent | Branches | `Alt + โ + B` |
421| Toggle | Command Palette | `โ + Shift + P` |
422| Deploy | Diagnostics | `โ + Shift + M` |
423| Toggle | File Finder | `โ + P` |
424| Toggle | Language Selector | `โ + K, M` |
425| Deploy search | Pane | `โ + Shift + F` |
426| Deploy search | Pane | `โ + Shift + H` |
427| Toggle focus | Project Panel | `โ + Shift + E` |
428| Toggle | Project Symbols | `โ + T` |
429| Open recent | Projects | `Alt + โ + O` |
430| Toggle | Tab Switcher | `Control + Shift + Tab` |
431| Toggle | Tab Switcher | `Control + Tab` |
432| Rerun | Task | `Alt + T` |
433| Spawn | Task | `Alt + Shift + T` |
434| Toggle focus | Terminal Panel | ``Control + ` `` |
435| Toggle | Theme Selector | `โ + K, โ + T` |
436| Activate pane 1 | Workspace | `โ + 1` |
437| Activate pane 2 | Workspace | `โ + 2` |
438| Activate pane 3 | Workspace | `โ + 3` |
439| Activate pane 4 | Workspace | `โ + 4` |
440| Activate pane 5 | Workspace | `โ + 5` |
441| Activate pane 6 | Workspace | `โ + 6` |
442| Activate pane 7 | Workspace | `โ + 7` |
443| Activate pane 8 | Workspace | `โ + 8` |
444| Activate pane 9 | Workspace | `โ + 9` |
445| Activate pane in direction down | Workspace | `โ + K, โ + Down` |
446| Activate pane in direction left | Workspace | `โ + K, โ + Left` |
447| Activate pane in direction right | Workspace | `โ + K, โ + Right` |
448| Activate pane in direction up | Workspace | `โ + K, โ + Up` |
449| Close all docks | Workspace | `Alt + โ + Y` |
450| New file | Workspace | `โ + N` |
451| New terminal | Workspace | `Control + ~` |
452| New window | Workspace | `โ + Shift + N` |
453| Save | Workspace | `โ + S` |
454| Save all | Workspace | `โ + Alt + S` |
455| Save as | Workspace | `โ + Shift + S` |
456| Save without format | Workspace | `โ + K, S` |
457| Swap pane in direction | Workspace | `โ + K, Shift + Down` |
458| Swap pane in direction | Workspace | `โ + K, Shift + Left` |
459| Swap pane in direction | Workspace | `โ + K, Shift + Right` |
460| Swap pane in direction | Workspace | `โ + K, Shift + Up` |
461| Toggle bottom dock | Workspace | `โ + J` |
462| Toggle left dock | Workspace | `โ + B` |
463| Toggle right dock | Workspace | `โ + R` |
464| Unfollow | Workspace | `Escape` |
465| Open keymap | Zed | `โ + K, โ + S` |
466
467#### Project Panel
468
469| **Command** | **Target** | **Default Shortcut** |
470| ----------------------- | ------------- | --------------------- |
471| Collapse selected entry | Project Panel | `Left` |
472| Copy | Project Panel | `โ + C` |
473| Copy path | Project Panel | `โ + Alt + C` |
474| Copy relative path | Project Panel | `Alt + โ + Shift + C` |
475| Cut | Project Panel | `โ + X` |
476| Delete | Project Panel | `Backspace` |
477| Delete | Project Panel | `Delete` |
478| Delete | Project Panel | `โ + Backspace` |
479| Delete | Project Panel | `โ + Delete` |
480| Expand selected entry | Project Panel | `Right` |
481| New directory | Project Panel | `Alt + โ + N` |
482| New file | Project Panel | `โ + N` |
483| New search in directory | Project Panel | `Alt + Shift + F` |
484| Open | Project Panel | `Space` |
485| Paste | Project Panel | `โ + V` |
486| Rename | Project Panel | `Enter` |
487| Rename | Project Panel | `F2` |
488| Reveal in File Manager | Project Panel | `Alt + โ + R` |
489
490#### Project Search Bar
491
492| **Command** | **Target** | **Default Shortcut** |
493| ---------------------- | -------------- | -------------------- |
494| Search in new | Project Search | `โ + Enter` |
495| Toggle focus | Project Search | `Escape` |
496| Activate regex mode | Search | `Alt + โ + G` |
497| Activate text mode | Search | `Alt + โ + X` |
498| Cycle mode | Search | `Alt + Tab` |
499| Focus search | Search | `โ + Shift + F` |
500| Next history query | Search | `Down` |
501| Previous history query | Search | `Up` |
502| Replace all | Search | `โ + Enter` |
503| Replace next | Search | `Enter` |
504| Toggle replace | Search | `โ + Shift + H` |
505
506#### Terminal
507
508| **Command** | **Target** | **Default Shortcut** |
509| --------------------------- | ---------- | --------------------- |
510| Clear | Terminal | `โ + K` |
511| Copy | Terminal | `โ + C` |
512| Delete line | Terminal | `โ + Backspace` |
513| Move to beginning of line | Terminal | `โ + Left` |
514| Move to end of line | Terminal | `โ + Right` |
515| Move to next word end | Terminal | `Alt + Right` |
516| Move to previous word start | Terminal | `Alt + Left` |
517| Paste | Terminal | `โ + V` |
518| Show character palette | Terminal | `Control + โ + Space` |
519
520#### Assistant Editor
521
522| **Command** | **Target** | **Default Shortcut** |
523| ------------------ | ---------- | -------------------- |
524| Assist | Assistant | `โ + Enter` |
525| Cycle message role | Assistant | `Control + R` |
526| Quote selection | Assistant | `โ + >` |
527| Split | Assistant | `Shift + Enter` |
528| Save | Workspace | `โ + S` |