mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 13:34:06 +03:00
Added cheat-sheet for Zed text editor
This commit is contained in:
1 parent
77477fc1a3
commit
a59b0ea654
2 files changed
+116
No files matched your search
@@ -0,0 +1,112 @@
|
||||
---
|
||||
title: Zed
|
||||
date: 2025-04-20 19:30:23.390210907
|
||||
background: bg-[#3e4548]
|
||||
label:
|
||||
tags:
|
||||
- text
|
||||
- editor
|
||||
- shortcut
|
||||
categories:
|
||||
- Keyboard Shortcuts
|
||||
intro: A visual cheat-sheet for the 50 keyboard shortcuts found in the Zed text editor.
|
||||
---
|
||||
|
||||
## Keyboard Shortcuts
|
||||
|
||||
### Zed
|
||||
|
||||
| Shortcut | Action |
|
||||
|------------------------|------------------------|
|
||||
| `Ctrl` `,` | Open settings |
|
||||
| `Ctrl` `Shift` `X` | Open Extensions store |
|
||||
| `Ctrl` `Q` | Quit Zed |
|
||||
|
||||
{.shortcuts}
|
||||
|
||||
### File
|
||||
|
||||
| Shortcut | Action |
|
||||
|----------------------------|---------------------|
|
||||
| `Ctrl` `N` | New file |
|
||||
| `Ctrl` `Shift` `N` | New Window |
|
||||
| `Ctrl` `O` | Open folder |
|
||||
| `Ctrl` `Alt` `Shift` `O` | Open remote folder |
|
||||
| `Ctrl` `S` | Save |
|
||||
| `Ctrl` `Shift` `S` | Save As... |
|
||||
| `Ctrl` `Alt` `S` | Save All |
|
||||
| `Ctrl` `Shift` `W` | Close Window |
|
||||
|
||||
{.shortcuts}
|
||||
|
||||
### Edit
|
||||
|
||||
| Shortcut | Action |
|
||||
|------------------------|---------------------|
|
||||
| `Ctrl` `Z` | Undo |
|
||||
| `Ctrl` `Shift` `Z` | Redo |
|
||||
| `Ctrl` `X` | Cut |
|
||||
| `Ctrl` `C` | Copy |
|
||||
| `Ctrl` `V` | Paste |
|
||||
| `Ctrl` `Shift` `F` | Find in project |
|
||||
| `Ctrl` `/` | Toggle line comment |
|
||||
|
||||
{.shortcuts}
|
||||
|
||||
### Selection
|
||||
|
||||
| Shortcut | Action |
|
||||
|--------------------------|-------------------------|
|
||||
| `Ctrl` `A` | Select all |
|
||||
| `Alt` `Shift` `Right` | Expand selection |
|
||||
| `Alt` `Shift` `Left` | Shrink selection |
|
||||
| `Alt` `Shift` `Up` | Add cursor above |
|
||||
| `Alt` `Shift` `Down` | Add cursor below |
|
||||
| `Ctrl` `Shift` `Down` | Select next Occurrence |
|
||||
| `Alt` `Up` | Move line up |
|
||||
| `Alt` `Down` | Move line down |
|
||||
| `Ctrl` `Shift` `D` | Duplicate selection |
|
||||
|
||||
{.shortcuts}
|
||||
|
||||
### View
|
||||
|
||||
| Shortcut | Action |
|
||||
|------------------------|----------------------|
|
||||
| `Ctrl` `B` | Toggle Left Dock |
|
||||
| `Ctrl` `Alt` `B` | Toggle Right Dock |
|
||||
| `Ctrl` `J` | Toggle Bottom Dock |
|
||||
| `Ctrl` `Alt` `Y` | Close All Docks |
|
||||
| `Ctrl` `K` `Up` | Split Up |
|
||||
| `Ctrl` `K` `Down` | Split Down |
|
||||
| `Ctrl` `K` `Left` | Split Left |
|
||||
| `Ctrl` `K` `Right` | Split Right |
|
||||
| `Ctrl` `Shift` `E` | Project Panel |
|
||||
| `Ctrl` `Shift` `B` | Outline Panel |
|
||||
| `Ctrl` `Shift` `C` | Collab Panel |
|
||||
| `Ctrl` ``` ` ``` | Terminal Panel |
|
||||
| `Ctrl` `Shift` `M` | Diagnostics |
|
||||
|
||||
{.shortcuts}
|
||||
|
||||
### Go
|
||||
|
||||
| Shortcut | Action |
|
||||
|-----------------------|----------------------------|
|
||||
| `Ctrl` `Alt` `-` | Back |
|
||||
| `Ctrl` `Shift` `P` | Command Palette… |
|
||||
| `Ctrl` `E` | Go to File… |
|
||||
| `Ctrl` `Shift` `O` | Go to Symbol in Editor… |
|
||||
| `Ctrl` `G` | Go to Line/Column… |
|
||||
| `F12` | Go to Definition |
|
||||
| `Ctrl` `F12` | Go to Type Definition |
|
||||
| `Alt` `Shift` `F12` | Find All References |
|
||||
| `F8` | Next Problem |
|
||||
| `Shift` `F8` | Previous Problem |
|
||||
|
||||
{.shortcuts}
|
||||
|
||||
## Also see
|
||||
- [Zed](https://zed.dev/)
|
||||
- [Zed GitHub](https://github.com/zed-industries/zed)
|
||||
- [Zed Documentation](https://zed.dev/docs)
|
||||
@@ -0,0 +1,4 @@
|
||||
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
fill="currentColor" height="1em" width="1em">
|
||||
<path d="M 141.744 113.262 C 126.017 113.262 113.262 126.008 113.262 141.744 L 113.262 768.331 L 56.3 768.331 L 56.3 141.744 C 56.3 94.554 94.554 56.3 141.744 56.3 L 904.837 56.3 C 942.903 56.3 961.959 102.315 935.044 129.23 L 465.054 599.228 L 597.444 599.228 L 597.444 540.481 L 654.406 540.481 L 654.406 613.469 C 654.406 637.061 635.279 656.191 611.684 656.191 L 408.088 656.191 L 310.184 754.091 L 754.091 754.091 L 754.091 398.075 L 811.053 398.075 L 811.053 754.091 C 811.053 785.553 785.55 811.053 754.091 811.053 L 253.221 811.053 L 153.537 910.737 L 882.256 910.737 C 897.983 910.737 910.737 897.992 910.737 882.256 L 910.737 255.669 L 967.7 255.669 L 967.7 882.256 C 967.7 929.446 929.446 967.7 882.256 967.7 L 119.163 967.7 C 81.096 967.7 62.041 921.685 88.956 894.769 L 557.166 426.556 L 426.556 426.556 L 426.556 483.519 L 369.594 483.519 L 369.594 412.316 C 369.594 388.723 388.721 369.594 412.316 369.594 L 614.128 369.594 L 713.813 269.909 L 269.909 269.909 L 269.909 625.925 L 212.947 625.925 L 212.947 269.909 C 212.947 238.446 238.446 212.947 269.909 212.947 L 770.775 212.947 L 870.46 113.262 L 141.744 113.262 Z"></path>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
Reference in new issue
Block a user