Skip to content

Instantly share code, notes, and snippets.

@ma-he-sh
Created August 9, 2024 17:03
Show Gist options
  • Save ma-he-sh/40260b8bfdb7e4ebd2a9f5d817ca3f9f to your computer and use it in GitHub Desktop.
Save ma-he-sh/40260b8bfdb7e4ebd2a9f5d817ca3f9f to your computer and use it in GitHub Desktop.
Zed editor personal config
{
// theme
"theme": "Rosé Pine Moon",
// keymap
"base_keymap": "SublimeText",
"vim_mode": true,
// toolbar
"toolbar": {
"breadcrumbs": false,
"quick_actions": false
},
// tab bar
"tab_bar": {
"show_nav_history_buttons": false
},
// gutter
"gutter": {
"line_numbers": true,
"code_actions": false
},
// wrap guides
"wrap_guides": [],
// ui
"ui_font_size": 14,
"ui_font_family": "Menlo",
// buffer
"buffer_font_size": 14,
"buffer_line_height": "comfortable",
"buffer_font_family": "Menlo",
"buffer_font_features": {
"liga": true
},
// inlay
"inlay_hints": {
"enabled": true,
"show_other_hints": true,
"show_type_hints": false,
"show_parameter_hints": false
},
// cursor
"cursor_blink": false,
// telemetry
"telemetry": {
"diagnostics": false,
"metrics": false
},
// tabs
"tabs": {
"git_status": true,
"close_position": "right"
},
// terminal
"terminal": {
"font_size": 16,
"dock": "left",
"blinking": "off",
"default_width": 20,
"copy_on_select": true,
"line_height": "comfortable",
"font_family": "Menlo",
"working_directory": "current_project_directory"
},
// fs panel
"project_panel": {
"dock": "right",
"default_width": 120,
"indent_size": 8
},
// scrollbar
"scrollbar": {
"show": "never"
},
// languages
"languages": {
"JavaScript": {
"tab_size": 4
},
"TypeScript": {
"tab_size": 4
},
"JSON": {
"tab_size": 4
},
"TSX": {
"tab_size": 4
},
"Go": {
"tab_size": 4
},
"C": {
"tab_size": 4
}
},
// vertical scroll
"vertical_scroll_margin": 0,
// coding format
"format_on_save": "on",
"preferred_line_length": 120,
"ensure_final_newline_on_save": true,
"remove_trailing_whitespace_on_save": true,
// biome
"formatter": "language_server",
// copilot
"show_copilot_suggestions": true,
// whitespaces
"show_whitespaces": "none",
// unused zed features
"chat_panel": {
"button": false
},
"collaboration_panel": {
"button": false
},
"notification_panel": {
"button": false
},
"assistant": {
"version": "2",
"button": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment