feat: add zed
This commit is contained in:
parent
c4ee52774f
commit
537243b7b1
@ -0,0 +1,45 @@
|
||||
// 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.
|
||||
[
|
||||
{
|
||||
"context": "Workspace",
|
||||
"bindings": {}
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_mode == normal",
|
||||
"bindings": {
|
||||
"space s f": "file_finder::Toggle",
|
||||
"space c a": "editor::ToggleCodeActions",
|
||||
"space o t": "terminal_panel::ToggleFocus",
|
||||
"space o l": "assistant::ToggleFocus",
|
||||
"space o p": "projects::OpenRecent",
|
||||
"alt-.": "pane::ActivateNextItem",
|
||||
"alt-,": "pane::ActivatePrevItem",
|
||||
"alt-x": "pane::CloseActiveItem",
|
||||
"alt-1": "project_panel::ToggleFocus",
|
||||
"alt-2": "outline_panel::ToggleFocus",
|
||||
"alt-3": "collab_panel::ToggleFocus",
|
||||
"alt-4": "editor::ToggleTabBar",
|
||||
"ctrl-d": ["vim::ScrollDown", "editor::ScrollCursorCenter"],
|
||||
"ctrl-u": ["vim::ScrollUp", "editor::ScrollCursorCenter"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "vim_mode == visual",
|
||||
"bindings": {
|
||||
"shift-j": "editor::MoveLineDown",
|
||||
"shift-k": "editor::MoveLineUp"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Terminal",
|
||||
"bindings": {
|
||||
"ctrl-w": null
|
||||
}
|
||||
}
|
||||
]
|
@ -0,0 +1,36 @@
|
||||
// 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 `zed: open default settings` from the
|
||||
// command palette
|
||||
{
|
||||
"chat_panel": {
|
||||
"dock": "right"
|
||||
},
|
||||
"assistant": {
|
||||
"default_model": {
|
||||
"provider": "zed.dev",
|
||||
"model": "claude-3-5-sonnet-20240620"
|
||||
},
|
||||
"version": "2"
|
||||
},
|
||||
"tab_bar": {
|
||||
"show": true
|
||||
},
|
||||
"telemetry": {
|
||||
"diagnostics": false,
|
||||
"metrics": false
|
||||
},
|
||||
"vim_mode": true,
|
||||
"relative_line_numbers": true,
|
||||
"ui_font_size": 16,
|
||||
"buffer_font_size": 16,
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"light": "One Light",
|
||||
"dark": "Solarized Dark"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user