config: add Zed config

This commit is contained in:
2026-01-01 20:04:03 -06:00
parent bfa82ef74c
commit ed10dae8fa
11 changed files with 115 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@ key.txt
.config/Code
.config/Cursor
.config/lazygit
.config/zed
{{ end }}
+33
View File
@@ -0,0 +1,33 @@
// 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": {
// "shift shift": "file_finder::Toggle"
}
},
{
"context": "Editor && vim_mode == insert",
"bindings": {
// "j k": "vim::NormalBefore"
}
},
{
"context": "Editor",
"bindings": {
"alt-pageup": "editor::HalfPageUp"
}
},
{
"context": "Editor",
"bindings": {
"alt-pagedown": "editor::HalfPageDown"
}
}
]
+33
View File
@@ -0,0 +1,33 @@
// 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": {
// "shift shift": "file_finder::Toggle"
}
},
{
"context": "Editor && vim_mode == insert",
"bindings": {
// "j k": "vim::NormalBefore"
}
},
{
"context": "Editor",
"bindings": {
"alt-pageup": "editor::HalfPageUp"
}
},
{
"context": "Editor",
"bindings": {
"alt-pagedown": "editor::HalfPageDown"
}
}
]
+18
View File
@@ -0,0 +1,18 @@
// 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 (cmd-shift-p / ctrl-shift-p)
{
"base_keymap": "Cursor",
"ui_font_size": 16,
"buffer_font_size": 15,
"theme": {
"mode": "dark",
"light": "One Light",
"dark": "Gruvbox Dark Hard"
}
}
+18
View File
@@ -0,0 +1,18 @@
// 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 (cmd-shift-p / ctrl-shift-p)
{
"base_keymap": "Cursor",
"ui_font_size": 16,
"buffer_font_size": 15,
"theme": {
"mode": "dark",
"light": "One Light",
"dark": "Gruvbox Dark Hard"
}
}
@@ -0,0 +1,3 @@
{{ if eq .chezmoi.os "windows" }}
{{ .chezmoi.sourceDir }}/.managed/zed/keymap.windows.json
{{ end }}
@@ -0,0 +1,3 @@
{{ if eq .chezmoi.os "windows" }}
{{ .chezmoi.sourceDir }}/.managed/zed/settings.windows.json
{{ end }}
@@ -0,0 +1,3 @@
{{ if (and (eq .chezmoi.os "linux") (not .wsl)) }}
{{ .chezmoi.sourceDir }}/.managed/zed/keymap.linux.json
{{ end }}
@@ -0,0 +1,3 @@
{{ if (and (eq .chezmoi.os "linux") (not .wsl)) }}
{{ .chezmoi.sourceDir }}/.managed/zed/settings.linux.json
{{ end }}
View File