Skip to content

Commit 9b40324

Browse files
ognevnylazka
authored andcommitted
IDEs and editors: add Zed
1 parent 77d8e88 commit 9b40324

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

web/docs/ides-editors.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,32 @@ Add these lines to your `settings.json`:
6060
```
6161

6262
Now the `MSYS2 UCRT` profile is available when launching a terminal.
63+
64+
## Zed
65+
66+
[Zed](https://zed.dev/) is a text and source code editor. Its syntax
67+
highlighting and source parsing is based on tree-sitter library. Editor uses
68+
Vulkan as GUI backend to have highest performance among other editors. Zed
69+
package provides `zeditor` CLI installed under bin/ directory and `zed-editor`
70+
executable installed under lib/zed/ directory. To use MSYS2 shell in integrated
71+
terminal, press Ctrl + , to open settings, then put these lines in the opened
72+
file
73+
74+
```json
75+
{
76+
"terminal": {
77+
"shell": {
78+
"with_arguments": {
79+
"program": "cmd.exe",
80+
"args": ["/c", "C:\\msys64\\msys2_shell.cmd", "-defterm", "-here", "-no-start", "-ucrt64"]
81+
}
82+
},
83+
"env": {
84+
"EDITOR": "zeditor.exe --wait"
85+
}
86+
}
87+
}
88+
```
89+
90+
Now UCRT64 shell will be opened if you press Ctrl + ~. EDITOR environment
91+
variable will be helpful, for example, when you use git from command line.

0 commit comments

Comments
 (0)