mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-03-22 04:35:47 +05:30
fix(zed): Keymap and config fixes
This commit is contained in:
@@ -2,6 +2,40 @@
|
||||
// custom settings, run `zed: open default settings` from the
|
||||
// command palette
|
||||
{
|
||||
"show_edit_predictions": false,
|
||||
"edit_predictions": {
|
||||
"mode": "subtle"
|
||||
},
|
||||
"disable_ai": false,
|
||||
"completion_menu_scrollbar": "auto",
|
||||
"show_whitespaces": "trailing",
|
||||
"toolbar": {
|
||||
"code_actions": false
|
||||
},
|
||||
"relative_line_numbers": "enabled",
|
||||
"prettier": {
|
||||
"allowed": false
|
||||
},
|
||||
"search": {
|
||||
"center_on_match": true,
|
||||
"regex": true
|
||||
},
|
||||
"window_decorations": "client",
|
||||
"use_system_window_tabs": false,
|
||||
"preview_tabs": {
|
||||
"enable_preview_multibuffer_from_code_navigation": false,
|
||||
"enable_preview_from_project_panel": true,
|
||||
"enable_preview_from_file_finder": true
|
||||
},
|
||||
"status_bar": {
|
||||
"cursor_position_button": true,
|
||||
"active_language_button": true
|
||||
},
|
||||
"git_panel": {
|
||||
"collapse_untracked_diff": false,
|
||||
"status_style": "label_color",
|
||||
"default_width": 240.0
|
||||
},
|
||||
"auto_update_extensions": {
|
||||
"proto": false,
|
||||
"rainbow-csv": false,
|
||||
@@ -16,17 +50,27 @@
|
||||
"html": true,
|
||||
"dockerfile": true
|
||||
},
|
||||
"telemetry": { "diagnostics": false, "metrics": false },
|
||||
|
||||
"telemetry": {
|
||||
"diagnostics": false,
|
||||
"metrics": false
|
||||
},
|
||||
// UI
|
||||
"theme": {
|
||||
"mode": "dark",
|
||||
"light": "One Light",
|
||||
"dark": "Github Dark Dimmed"
|
||||
},
|
||||
"icon_theme": "Modern Icons (Dark)",
|
||||
"tabs": { "file_icons": true, "git_status": true },
|
||||
"tab_bar": { "show_nav_history_buttons": false },
|
||||
"icon_theme": "Material Icon Theme",
|
||||
"tabs": {
|
||||
"show_close_button": "always",
|
||||
"show_diagnostics": "off",
|
||||
"file_icons": true,
|
||||
"git_status": true
|
||||
},
|
||||
"tab_bar": {
|
||||
"show_tab_bar_buttons": true,
|
||||
"show_nav_history_buttons": false
|
||||
},
|
||||
"ui_font_size": 17,
|
||||
"buffer_font_size": 18,
|
||||
"buffer_font_family": "MonoLisa",
|
||||
@@ -41,30 +85,59 @@
|
||||
"ss17": true,
|
||||
"ss18": true
|
||||
},
|
||||
"agent_font_size": 18,
|
||||
"agent_ui_font_size": 19,
|
||||
"agent_buffer_font_size": 17,
|
||||
"terminal": {
|
||||
"font_family": "MonoLisa",
|
||||
"font_size": 18,
|
||||
"copy_on_select": true,
|
||||
"button": true,
|
||||
"scrollbar": { "show": "auto" },
|
||||
"toolbar": { "breadcrumbs": true }
|
||||
"scrollbar": {
|
||||
"show": "auto"
|
||||
},
|
||||
"toolbar": {
|
||||
"breadcrumbs": true
|
||||
}
|
||||
},
|
||||
"outline_panel": {
|
||||
"indent_size": 15,
|
||||
"scrollbar": { "show": "auto" }
|
||||
"git_status": false,
|
||||
"default_width": 240.0,
|
||||
"button": true,
|
||||
"indent_size": 18.0,
|
||||
"scrollbar": {
|
||||
"show": "auto"
|
||||
}
|
||||
},
|
||||
"project_panel": {
|
||||
"indent_size": 15,
|
||||
"button": true,
|
||||
"hide_hidden": false,
|
||||
"hide_root": true,
|
||||
"git_status": true,
|
||||
"folder_icons": false,
|
||||
"file_icons": true,
|
||||
"entry_spacing": "standard",
|
||||
"indent_size": 18.0,
|
||||
"show_diagnostics": "all",
|
||||
"scrollbar": { "show": "auto" }
|
||||
"scrollbar": {
|
||||
"show": "auto"
|
||||
}
|
||||
},
|
||||
"collaboration_panel": {
|
||||
"button": false
|
||||
},
|
||||
"collaboration_panel": { "button": false },
|
||||
"bottom_dock_layout": "right_aligned",
|
||||
"file_finder": { "modal_max_width": "small" },
|
||||
"file_finder": {
|
||||
"modal_max_width": "small"
|
||||
},
|
||||
"use_smartcase_search": true,
|
||||
"title_bar": { "show_branch_icon": true },
|
||||
|
||||
"title_bar": {
|
||||
"show_menus": false,
|
||||
"show_user_picture": false,
|
||||
"show_onboarding_banner": true,
|
||||
"show_project_items": true,
|
||||
"show_branch_name": true,
|
||||
"show_branch_icon": true
|
||||
},
|
||||
// Editor
|
||||
"vim_mode": true,
|
||||
"vim": {
|
||||
@@ -73,10 +146,16 @@
|
||||
},
|
||||
"vertical_scroll_margin": 10,
|
||||
"base_keymap": "VSCode",
|
||||
"buffer_line_height": { "custom": 1.4 },
|
||||
"buffer_line_height": {
|
||||
"custom": 1.4
|
||||
},
|
||||
"tab_size": 4,
|
||||
"soft_wrap": "editor_width",
|
||||
"autosave": { "after_delay": { "milliseconds": 5000 } },
|
||||
"autosave": {
|
||||
"after_delay": {
|
||||
"milliseconds": 2000
|
||||
}
|
||||
},
|
||||
"format_on_save": "on",
|
||||
"unnecessary_code_fade": 0.6,
|
||||
"inlay_hints": {
|
||||
@@ -88,15 +167,22 @@
|
||||
"show_value_hints": true
|
||||
},
|
||||
"scrollbar": {
|
||||
"cursors": true,
|
||||
"git_diff": false
|
||||
},
|
||||
"indent_guides": { "enabled": true },
|
||||
"indent_guides": {
|
||||
"coloring": "fixed",
|
||||
"enabled": true
|
||||
},
|
||||
"gutter": {
|
||||
"runnables": true,
|
||||
"min_line_number_digits": 2,
|
||||
"breakpoints": true
|
||||
},
|
||||
"journal": { "path": "~/Code/", "hour_format": "hour24" },
|
||||
"journal": {
|
||||
"path": "~/Code/",
|
||||
"hour_format": "hour24"
|
||||
},
|
||||
"diagnostics": {
|
||||
"inline": {
|
||||
"enabled": false,
|
||||
@@ -105,7 +191,6 @@
|
||||
}
|
||||
},
|
||||
// "file_scan_exclusions": [ ], // Files that Zed won't search
|
||||
|
||||
// Git
|
||||
"git": {
|
||||
"git_gutter": "tracked_files",
|
||||
@@ -116,26 +201,21 @@
|
||||
"min_column": 80
|
||||
}
|
||||
},
|
||||
|
||||
// AI
|
||||
"agent": {
|
||||
"default_profile": "write",
|
||||
"default_model": {
|
||||
"provider": "lmstudio",
|
||||
"model": "unsloth/gpt-oss-20b"
|
||||
},
|
||||
"use_modifier_to_send": true,
|
||||
"enable_feedback": false,
|
||||
"default_profile": "ask",
|
||||
"model_parameters": [],
|
||||
"notify_when_agent_waiting": "all_screens"
|
||||
"notify_when_agent_waiting": "never"
|
||||
},
|
||||
"edit_predictions_disabled_in": ["markdown"],
|
||||
|
||||
// LSP
|
||||
"languages": {
|
||||
"Markdown": {
|
||||
"show_edit_predictions": false
|
||||
}
|
||||
},
|
||||
|
||||
"lsp": {
|
||||
"rust-analyzer": {
|
||||
"initialization_options": {
|
||||
|
||||
Reference in New Issue
Block a user