Skip to content

Commit 277b7fe

Browse files
committed
editor(zed): update settings/keymaps
1 parent ae5830b commit 277b7fe

2 files changed

Lines changed: 93 additions & 15 deletions

File tree

zed/keymap.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"space f": "file_finder::Toggle",
77
"space \\": "project_panel::ToggleFocus",
88
"space w": "workspace::Save",
9+
"space s s": "outline::Toggle",
910
"] g": "editor::GoToHunk",
1011
"[ g": "editor::GoToPreviousHunk",
1112
"] b": "pane::ActivateNextItem",
@@ -15,12 +16,12 @@
1516
{
1617
"context": "Editor && vim_mode != insert && (!VimWaiting && !menu && !AgentPanel && !BufferSearchBar && !ProjectSearchBar)",
1718
"bindings": {
18-
", a": "editor::SelectAll",
1919
"g i": "editor::GoToImplementation",
2020
"g r a": "editor::ToggleCodeActions",
2121
"g r n": "editor::Rename",
22-
"space s s": "outline::Toggle",
23-
", r": "buffer_search::Deploy",
22+
", a": "editor::SelectAll",
23+
", m": "markdown::OpenFollowingPreview",
24+
", r": "buffer_search::Deploy"
2425
},
2526
},
2627
{
@@ -114,6 +115,12 @@
114115
"escape escape": "agent::Toggle",
115116
},
116117
},
118+
{
119+
"context": "ProjectPanel",
120+
"bindings": {
121+
"space \\": "project_panel::Toggle",
122+
},
123+
},
117124
{
118125
"context": "Terminal",
119126
"bindings": {
@@ -122,4 +129,9 @@
122129
"ctrl-w up": "terminal_panel::Toggle",
123130
},
124131
},
132+
{
133+
"bindings": {
134+
"alt-cmd-i": "dev::OpenHighlightsTreeView"
135+
}
136+
},
125137
]

zed/settings.json

Lines changed: 78 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,83 @@
77
// custom settings, run the `open default settings` command
88
// from the command palette or from `Zed` application menu.
99
{
10+
"hard_tabs": false,
11+
"tab_bar": {
12+
"show": true
13+
},
14+
"semantic_tokens": "off",
15+
"ui_font_weight": 300.0,
16+
"buffer_font_weight": 300.0,
17+
"toolbar": {
18+
"agent_review": true,
19+
"selections_menu": true,
20+
"quick_actions": false,
21+
"breadcrumbs": false
22+
},
23+
"title_bar": {
24+
"show_branch_status_icon": false
25+
},
26+
"status_bar": {
27+
"show_active_file": true,
28+
"line_endings_button": false
29+
},
30+
"format_on_save": "off",
31+
"inlay_hints": {
32+
"enabled": false
33+
},
34+
"tab_size": 2,
35+
"buffer_line_height": {
36+
"custom": 1.2999999523162842
37+
},
1038
"language_models": {
39+
"lmstudio": {
40+
"api_url": "http://localhost:1234/api/v1/"
41+
},
1142
"opencode": {
12-
"show_go_models": false,
43+
"show_zen_models": false,
44+
"show_free_models": true,
45+
"show_go_models": true,
1346
},
1447
},
1548
"languages": {
49+
"Python": {
50+
"always_treat_brackets_as_autoclosed": true,
51+
"tab_size": 2,
52+
"language_servers": [
53+
// Enable ty, disable basedpyright, and enable all
54+
// other registered language servers (ruff, pylsp, pyright).
55+
// "!ty",
56+
"basedpyright",
57+
]
58+
},
1659
"Lua": {
1760
"auto_indent": "syntax_aware",
1861
},
1962
},
20-
"outline_panel": {
63+
"lsp": {
64+
"basedpyright": {
65+
"binary": {
66+
"path": "/opt/homebrew/bin/basedpyright-langserver",
67+
"arguments": ["--stdio"]
68+
}
69+
}
70+
},
71+
"outline_panel": {
2172
"dock": "right",
2273
},
2374
"edit_predictions": {
2475
"provider": "zed",
2576
},
26-
"theme": "Terafox - blurred (dev)",
77+
"theme": "Terafox - blurred",
2778
"icon_theme": "Material Icon Theme",
2879

2980
// Agents
3081
"agent": {
82+
"inline_assistant_model": {
83+
"provider": "google",
84+
"model": "gemini-3.1-flash-lite",
85+
"enable_thinking": false
86+
},
3187
"dock": "left",
3288
"tool_permissions": {
3389
"default": "allow",
@@ -36,24 +92,30 @@
3692
{
3793
"provider": "google",
3894
"model": "gemini-3-pro-preview",
39-
"enable_thinking": true,
95+
"enable_thinking": true
4096
},
4197
{
4298
"provider": "google",
4399
"model": "gemini-3-flash-preview",
44-
"enable_thinking": false,
100+
"enable_thinking": false
45101
},
46102
{
47103
"provider": "opencode",
48104
"model": "zen/claude-sonnet-4-5",
49-
"enable_thinking": true,
105+
"enable_thinking": true
50106
},
107+
{
108+
"provider": "lmstudio",
109+
"model": "qwen2.5-coder-1.5b-instruct",
110+
"enable_thinking": false
111+
}
51112
],
52113
"single_file_review": true,
53114
"default_profile": "write",
54115
"default_model": {
55-
"provider": "opencode",
56-
"model": "free/big-pickle",
116+
"enable_thinking": true,
117+
"provider": "google",
118+
"model": "gemini-2.5-flash-lite",
57119
},
58120
},
59121
"agent_servers": {
@@ -68,6 +130,7 @@
68130

69131
"vim_mode": true,
70132
"vim": {
133+
"toggle_relative_line_numbers": false,
71134
"highlight_on_yank_duration": 200,
72135
"use_smartcase_find": true,
73136
},
@@ -102,7 +165,8 @@
102165
"coloring": "indent_aware",
103166
"background_coloring": "disabled",
104167
},
105-
"auto_update_extensions": { "colorizer": false },
168+
"auto_update_extensions": { "nvim-nightfox": false,
169+
"colorizer": false },
106170
"telemetry": { "metrics": false },
107171

108172
"ensure_final_newline_on_save": true,
@@ -113,13 +177,15 @@
113177
"ui_font_family": "JetBrainsMono Nerd Font",
114178
"ui_font_size": 13,
115179
"terminal": {
180+
"font_weight": 300.0,
116181
"font_family": "JetBrainsMono Nerd Font",
117182
},
118183

119184
// Character counts at which to show wrap guides in the editor.
120185
"wrap_guides": [80, 120],
121186

122-
"tabs": { "file_icons": true },
187+
"tabs": { "git_status": true,
188+
"file_icons": true },
123189

124190
// The number of lines to keep above/below the cursor when scrolling.
125191
"vertical_scroll_margin": 8,
@@ -136,6 +202,6 @@
136202
"indent_size": 16,
137203
},
138204
"collaboration_panel": { "dock": "right", "button": false },
139-
"git_panel": { "tree_view": true, "dock": "right", "button": true },
140-
"search": { "button": false },
205+
"git_panel": { "tree_view": false, "dock": "right", "button": true },
206+
"search": { "button": true },
141207
}

0 commit comments

Comments
 (0)