Add Zed Config
This commit is contained in:
parent
bc27c34aad
commit
5df3cf2682
4 changed files with 103 additions and 0 deletions
1
zed/.gitignore
vendored
Normal file
1
zed/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
zed.xdg.symlink/.tmp*
|
6
zed/extensions.list
Normal file
6
zed/extensions.list
Normal file
|
@ -0,0 +1,6 @@
|
|||
- Dockerfile
|
||||
- SQL
|
||||
- GitHub Theme
|
||||
- Make
|
||||
- TOML
|
||||
- GraphQL
|
45
zed/zed.xdg.symlink/keymap.json
Normal file
45
zed/zed.xdg.symlink/keymap.json
Normal file
|
@ -0,0 +1,45 @@
|
|||
[
|
||||
{
|
||||
"bindings": {
|
||||
"cmd-o": "file_finder::Toggle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Pane",
|
||||
"bindings": {
|
||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||
"ctrl-j": ["workspace::ActivatePaneInDirection", "Right"],
|
||||
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||
"ctrl-l": ["workspace::ActivatePaneInDirection", "Down"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor",
|
||||
"bindings": {
|
||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||
"ctrl-j": ["workspace::ActivatePaneInDirection", "Down"],
|
||||
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||
"ctrl-l": ["workspace::ActivatePaneInDirection", "Right"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && VimControl && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
";": "command_palette::Toggle",
|
||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||
"ctrl-j": ["workspace::ActivatePaneInDirection", "Down"],
|
||||
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||
"ctrl-l": ["workspace::ActivatePaneInDirection", "Right"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_mode == insert",
|
||||
"bindings": {
|
||||
"j k": "vim::NormalBefore",
|
||||
"left": null,
|
||||
"down": null,
|
||||
"up": null,
|
||||
"right": null
|
||||
}
|
||||
}
|
||||
]
|
51
zed/zed.xdg.symlink/settings.json
Normal file
51
zed/zed.xdg.symlink/settings.json
Normal file
|
@ -0,0 +1,51 @@
|
|||
// 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.
|
||||
{
|
||||
"theme": {
|
||||
"dark": "Github Dark",
|
||||
"light": "Github Light"
|
||||
},
|
||||
"git": {
|
||||
"inline_blame": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"vim_mode": true,
|
||||
"relative_line_numbers": true,
|
||||
"buffer_font_size": 12,
|
||||
"buffer_font_family": "Input Mono",
|
||||
"ui_font_family": "SF Pro",
|
||||
"ui_font_size": 15,
|
||||
"project_panel": {
|
||||
"dock": "right"
|
||||
},
|
||||
"file_types": {
|
||||
"Python": ["bazel", "WORKSPACE"]
|
||||
},
|
||||
"languages": {
|
||||
"TypeScript": {
|
||||
"tab_size": 4
|
||||
},
|
||||
"JavaScript": {
|
||||
"tab_size": 4
|
||||
},
|
||||
"TSX": {
|
||||
"tab_size": 4
|
||||
},
|
||||
"Markdown": {
|
||||
"tab_size": 4
|
||||
},
|
||||
"JSON": {
|
||||
"tab_size": 4
|
||||
},
|
||||
"Make": {
|
||||
"tab_size": 8
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue