Last active
March 28, 2025 20:15
-
-
Save pythoninthegrass/e6b12564f8534d2d6e28c2a0eba6b033 to your computer and use it in GitHub Desktop.
zed config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Zed keymap | |
// | |
// For information on binding keys, see the Zed | |
// documentation: https://zed.dev/docs/key-bindings | |
// | |
// To see the default key bindings run `zed: open default keymap` | |
// from the command palette. | |
[ | |
// Standard bindings | |
{ | |
"bindings": { | |
"ctrl-shift-o": "workspace::Open" | |
} | |
}, | |
{ | |
"context": "Workspace", | |
"bindings": { | |
// "shift shift": "file_finder::Toggle" | |
} | |
}, | |
{ | |
"context": "Editor", | |
"bindings": { | |
// "j k": ["workspace::SendKeystrokes", "escape"] | |
} | |
}, | |
{ | |
"context": "Editor && mode == full", | |
"bindings": { | |
"cmd-i": "assistant::InlineAssist" | |
} | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Zed settings | |
// | |
// For information on how to configure Zed, see the Zed | |
// documentation: https://zed.dev/docs/configuring-zed | |
// | |
// To see all of Zed's default settings without changing your | |
// custom settings, run the `open default settings` command | |
// from the command palette or from `Zed` application menu. | |
{ | |
"base_keymap": "Atom", | |
"buffer_font_family": "Hack Nerd Font Mono", | |
"buffer_font_size": 13, | |
"file_types": { | |
"Dockerfile": [ | |
"Dockerfile*" | |
] | |
}, | |
"format_on_save": "off", | |
"remove_trailing_whitespace_on_save": true, | |
"preferred_line_length": 120, | |
"soft_wrap": "none", | |
"tab_size": 4, | |
"terminal": { | |
"font_family": "Hack Nerd Font Mono", | |
"font_size": 13, | |
"blinking": "on", | |
"copy_on_select": true | |
}, | |
"theme": "Tomorrow Night Blue", | |
"ui_font_family": "Hack Nerd Font Mono", | |
"ui_font_size": 16, | |
"vim_mode": false, | |
"code_actions_on_format": { | |
"source.fixAll.biome": true, | |
"source.organizeImports.biome": true | |
}, | |
"languages": { | |
"JSON": { | |
"tab_size": 2 | |
}, | |
"Python": { | |
"tab_size": 4, | |
"format_on_save": "on", | |
"language_servers": [ | |
"ruff" | |
], | |
"formatter": [ | |
{ | |
"language_server": { | |
"name": "ruff" | |
} | |
} | |
] | |
} | |
}, | |
"lsp": { | |
"biome": { | |
"settings": { | |
"config_path": "$HOME/.config/biome.jsonc" | |
} | |
}, | |
"ruff": { | |
"python": { | |
"pythonPath": ".venv/bin/python" | |
} | |
} | |
}, | |
"assistant": { | |
"default_model": { | |
"provider": "anthropic", | |
"model": "claude-3-7-sonnet-latest" | |
}, | |
"dock": "right", | |
"default_width": 320, | |
"version": "2" | |
}, | |
"language_models": { | |
"anthropic": { | |
"available_models": [ | |
{ | |
"name": "claude-3-7-sonnet", | |
"display_name": "claude-3-7-sonnet-latest", | |
"max_tokens": 200000, | |
"mode": { | |
"type": "thinking", | |
"budget_tokens": 4096 | |
}, | |
"cache_configuration": { | |
"max_cache_anchors": 10, | |
"min_total_token": 10000, | |
"should_speculate": false | |
} | |
} | |
], | |
"version": "1" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment