Skip to content

Commit 82af466

Browse files
committed
zed
1 parent cd77a10 commit 82af466

File tree

2 files changed

+123
-0
lines changed

2 files changed

+123
-0
lines changed

zed/keymap.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[
2+
{
3+
"context": "Terminal",
4+
"bindings": {
5+
"space": ["terminal::SendText", " "],
6+
"alt-a h": "terminal_panel::ToggleFocus",
7+
"alt-a z": "workspace::ToggleZoom"
8+
}
9+
},
10+
{
11+
"context": "Editor && (vim_mode == normal || vim_mode == visual) && !VimWaiting && !menu",
12+
"bindings": {
13+
"shift-w": "pane::CloseActiveItem",
14+
"shift-tab": "pane::ActivatePrevItem",
15+
"tab": "pane::ActivateNextItem",
16+
"ctrl-p": "file_finder::Toggle",
17+
", c": "editor::ToggleComments",
18+
", f": "file_finder::Toggle",
19+
"ctrl-t": [
20+
"workspace::SendKeystrokes",
21+
", p s \\/\\/ space (FIXME|TODO|HACK|WARN|PERF|NOTE|TEST): alt-cmd-g enter"
22+
],
23+
", r": [
24+
"workspace::SendKeystrokes",
25+
"ctrl-` cargo space run enter ctrl-`"
26+
],
27+
", p s": "pane::DeploySearch",
28+
"ctrl-k": "editor::Hover",
29+
"alt-a l": "terminal_panel::ToggleFocus",
30+
"alt-a z": "workspace::ToggleZoom"
31+
}
32+
},
33+
{
34+
"bindings": {
35+
"cmd-?": null,
36+
"cmd->": null
37+
}
38+
}
39+
]

zed/settings.json

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
// Zed settings
2+
//
3+
// For information on how to configure Zed, see the Zed
4+
// documentation: https://zed.dev/docs/configuring-zed
5+
//
6+
// To see all of Zed's default settings without changing your
7+
// custom settings, run the `open default settings` command
8+
// from the command palette or from `Zed` application menu.
9+
{
10+
"confirm_quit": true,
11+
"vim_mode": true,
12+
"theme": "Modest Dark",
13+
"ui_font_size": 16,
14+
"ui_font_family": "Operator Mono Lig",
15+
"buffer_font_size": 15,
16+
"buffer_font_family": "Operator Mono Lig",
17+
"cursor_blink": false,
18+
"relative_line_numbers": true,
19+
"scrollbar": {
20+
"show": "never"
21+
},
22+
"git": {
23+
"git_gutter": "tracked_files"
24+
},
25+
"vertical_scroll_margin": 0,
26+
"remove_trailing_whitespace_on_save": true,
27+
"show_whitespaces": "all",
28+
"terminal": {
29+
"dock": "right",
30+
"default_width": 770
31+
},
32+
"assistant": {
33+
"button": false
34+
},
35+
"features": {
36+
"copilot": false
37+
},
38+
"lsp": {
39+
"typescript-language-server": {
40+
"initialization_options": {
41+
"maxTsServerMemory": 8192
42+
}
43+
}
44+
},
45+
"languages": {
46+
"Rust": {
47+
"tab_size": 2,
48+
"wrap_guides": [80]
49+
},
50+
"TOML": {
51+
"tab_size": 2
52+
},
53+
"proto": {
54+
"tab_size": 2
55+
},
56+
"Prisma": {
57+
"tab_size": 2
58+
},
59+
"TSX": {
60+
"wrap_guides": [80]
61+
},
62+
"TypeScript": {
63+
"wrap_guides": [80]
64+
}
65+
},
66+
"file_scan_exclusions": [
67+
"**/.git",
68+
"**/.svn",
69+
"**/.hg",
70+
"**/CVS",
71+
"**/.DS_Store",
72+
"**/Thumbs.db",
73+
"**/.classpath",
74+
"**/.settings",
75+
"**/.cargo",
76+
"**/.next",
77+
"**/target",
78+
"**/dist",
79+
"**/node_modules"
80+
],
81+
"chat_panel": {
82+
"dock": "bottom"
83+
}
84+
}

0 commit comments

Comments
 (0)