Last active
April 7, 2025 21:15
-
-
Save jorgeav527/d27c0468f493f913dc8f8691bb338cbd to your computer and use it in GitHub Desktop.
zed personal configuration
This file contains hidden or 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
*.tmp* | |
theme/ |
This file contains hidden or 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
[ | |
{ | |
"context": "Dock", | |
"bindings": { | |
"ctrl-w h": "workspace::ActivatePaneLeft", | |
"ctrl-w l": "workspace::ActivatePaneRight", | |
"ctrl-w k": "workspace::ActivatePaneUp", | |
"ctrl-w j": "workspace::ActivatePaneDown" | |
// ... or other keybindings | |
} | |
}, | |
{ | |
"context": "vim_mode == normal || vim_mode == visual", | |
"bindings": { | |
"s": "vim::PushSneak", | |
"shift-s": "vim::PushSneakBackward" | |
} | |
}, | |
{ | |
"context": "Editor && !menu", | |
"bindings": { | |
"ctrl-c": "editor::Copy", // vim default: return to normal mode | |
"ctrl-x": "editor::Cut", // vim default: decrement | |
"ctrl-v": "editor::Paste", // vim default: visual block mode | |
"ctrl-r": "editor::Redo", // vim default: line up | |
"ctrl-f": "buffer_search::Deploy", // vim default: page down | |
"ctrl-o": "workspace::Open", // vim default: go back | |
"ctrl-a": "editor::SelectAll" // vim default: increment | |
} | |
}, | |
{ | |
"context": "Editor && vim_mode == insert", | |
"bindings": { | |
// "j k": "vim::NormalBefore" | |
// "k j": "vim::NormalBefore" | |
} | |
}, | |
{ | |
"context": "Pane", | |
"bindings": { | |
"ctrl-1": ["pane::ActivateItem", 0], | |
"ctrl-2": ["pane::ActivateItem", 1], | |
"ctrl-3": ["pane::ActivateItem", 2], | |
"ctrl-4": ["pane::ActivateItem", 3], | |
"ctrl-5": ["pane::ActivateItem", 4], | |
"ctrl-6": ["pane::ActivateItem", 5], | |
"ctrl-7": ["pane::ActivateItem", 6], | |
"ctrl-8": ["pane::ActivateItem", 7], | |
"ctrl-9": ["pane::ActivateItem", 8], | |
"ctrl-0": "pane::ActivateLastItem", | |
"ctrl-pgup": "pane::GoBack", | |
"ctrl-pgdown": "pane::GoForward", | |
"ctrl-shift-f": "project_search::ToggleFocus" | |
} | |
} | |
] |
This file contains hidden or 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
{ | |
"theme": { | |
"mode": "system", | |
"light": "One Light", | |
"dark": "Gruvbox Dark Hard" | |
}, | |
"icon_theme": "Zed (Default)", | |
"base_keymap": "VSCode", | |
"features": { | |
"edit_prediction_provider": "zed" | |
}, | |
"buffer_font_family": "FiraMono Nerd Font Mono", | |
"buffer_font_size": 14, | |
"buffer_font_weight": 500, | |
"ui_font_family": "Hack Nerd Font Mono", | |
"ui_font_size": 14, | |
// "multi_cursor_modifier": "alt", | |
"vim_mode": true, | |
"confirm_quit": true, | |
"relative_line_numbers": true, | |
"use_smartcase_search": true, | |
"assistant": { | |
"default_width": 500, | |
"default_model": { | |
"provider": "zed.dev", | |
"model": "claude-3-7-sonnet-latest" | |
}, | |
"version": "2", | |
"editor_model": { | |
"provider": "zed.dev", | |
"model": "claude-3-7-sonnet-latest" | |
} | |
}, | |
"tabs": { | |
"git_status": true, | |
"file_icons": true | |
}, | |
"extend_comment_on_newline": false, | |
// "formatter": "auto", | |
"soft_wrap": "bounded", | |
"preferred_line_length": 100, | |
"telemetry": { | |
"diagnostics": true, | |
"metrics": false | |
}, | |
"edit_predictions": { | |
"disabled_globs": ["/.env", ".env"] | |
}, | |
"terminal": { | |
"font_family": "Hack Nerd Font Mono", | |
"font_size": 12, | |
"copy_on_select": true, | |
"env": { | |
// "KEY": "value1:value2" | |
} | |
}, | |
"file_types": { | |
"Dockerfile": ["Dockerfile*"] | |
}, | |
"auto_install_extensions": { | |
"html": true | |
// add others | |
}, | |
"languages": { | |
"Rust": { | |
"show_edit_predictions": false | |
}, | |
"JSON": { | |
"tab_size": 4 | |
}, | |
"JSONC": { | |
"tab_size": 4 | |
} | |
}, | |
"vim": { | |
"toggle_relative_line_numbers": true, | |
"use_multiline_find": true, | |
"use_smartcase_find": true, | |
"use_system_clipboard": "on_yank" | |
}, | |
"ssh_connections": [], | |
"lsp": { | |
"rust-analyzer": { | |
"procMacro": { | |
"ignored": [ | |
// optional: | |
// "component", | |
// "server" | |
] | |
} | |
} | |
} | |
} |
This file contains hidden or 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
{ | |
"features": { | |
"edit_prediction_provider": "zed" | |
}, | |
"assistant": { | |
"default_width": 500, | |
"default_model": { | |
"provider": "zed.dev", | |
"model": "claude-3-5-sonnet-latest" | |
}, | |
"version": "2" | |
}, | |
"ui_font_size": 14, | |
"buffer_font_size": 14, | |
"buffer_line_height": { | |
"custom": 1.5 | |
}, | |
"terminal": { | |
"font_family": "Hack Nerd Font Mono", | |
"font_size": 12, | |
"copy_on_select": true | |
}, | |
"buffer_font_family": "FiraMono Nerd Font Mono", | |
"ui_font_family": "Hack Nerd Font Mono", | |
"relative_line_numbers": false, | |
"buffer_font_weight": 500, | |
"base_keymap": "VSCode", | |
"vim_mode": false, | |
"inline_completions": { | |
"disabled_globs": ["/.env", ".env"] | |
}, | |
"file_types": { | |
"Dockerfile": ["Dockerfile*"] | |
}, | |
"vim": { | |
"use_system_clipboard": "on_yank", | |
"use_multiline_find": true | |
}, | |
"theme": { | |
"mode": "system", | |
"light": "One Light", | |
"dark": "Gruvbox Dark Hard" | |
}, | |
"tabs": { | |
"close_position": "right", | |
"file_icons": true, | |
"git_status": true | |
}, | |
"inlay_hints": { | |
"enabled": true | |
}, | |
"languages": { | |
"JSON": { | |
"tab_size": 4 | |
}, | |
"JSONC": { | |
"tab_size": 4 | |
}, | |
"Markdown": { | |
"soft_wrap": "editor_width" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment