commit a191bbbd45618dd7c7f381562639023bcebe16bb
parent 3129e19433c13cfaa9e6ff77fe560e225627cd04
Author: Robert Russell <robert@rr3.xyz>
Date: Wed, 8 Jul 2026 16:08:07 -0700
Update zed settings
Diffstat:
2 files changed, 62 insertions(+), 17 deletions(-)
diff --git a/zed/keymap.json b/zed/keymap.json
@@ -12,14 +12,29 @@
"escape": "menu::Cancel",
// Buffer font size
- "ctrl-alt-pageup": ["zed::IncreaseBufferFontSize", { "persist": false }],
- "ctrl-alt-pagedown": ["zed::DecreaseBufferFontSize", { "persist": false }],
+ "ctrl-alt-pageup": [
+ "zed::IncreaseBufferFontSize",
+ { "persist": false },
+ ],
+ "ctrl-alt-pagedown": [
+ "zed::DecreaseBufferFontSize",
+ { "persist": false },
+ ],
"ctrl-alt-home": ["zed::ResetBufferFontSize", { "persist": false }],
// UI font size
- "ctrl-alt-shift-pageup": ["zed::IncreaseUiFontSize", { "persist": false }],
- "ctrl-alt-shift-pagedown": ["zed::DecreaseUiFontSize", { "persist": false }],
- "ctrl-alt-shift-home": ["zed::ResetUiFontSize", { "persist": false }],
+ "ctrl-alt-shift-pageup": [
+ "zed::IncreaseUiFontSize",
+ { "persist": false },
+ ],
+ "ctrl-alt-shift-pagedown": [
+ "zed::DecreaseUiFontSize",
+ { "persist": false },
+ ],
+ "ctrl-alt-shift-home": [
+ "zed::ResetUiFontSize",
+ { "persist": false },
+ ],
// Keymap configuration
"f9": "zed::OpenKeymap",
@@ -138,7 +153,10 @@
"down": "editor::MoveDown",
"left": "editor::MoveLeft",
"right": "editor::MoveRight",
- "home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
+ "home": [
+ "editor::MoveToBeginningOfLine",
+ { "stop_at_soft_wraps": true, "stop_at_indent": true },
+ ],
"end": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }],
"pageup": "editor::MovePageUp",
"pagedown": "editor::MovePageDown",
@@ -150,8 +168,14 @@
"shift-down": "editor::SelectDown",
"shift-left": "editor::SelectLeft",
"shift-right": "editor::SelectRight",
- "shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
- "shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
+ "shift-home": [
+ "editor::SelectToBeginningOfLine",
+ { "stop_at_soft_wraps": true, "stop_at_indent": true },
+ ],
+ "shift-end": [
+ "editor::SelectToEndOfLine",
+ { "stop_at_soft_wraps": true },
+ ],
"shift-pageup": "editor::SelectPageUp",
"shift-pagedown": "editor::SelectPageDown",
"ctrl-a": "editor::SelectAll",
@@ -237,7 +261,10 @@
"ctrl-right": "vim::NextWordStart",
"ctrl-shift-right": "editor::SelectToNextWordEnd",
- "home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
+ "home": [
+ "editor::MoveToBeginningOfLine",
+ { "stop_at_soft_wraps": true, "stop_at_indent": true },
+ ],
"shift-home": null,
"ctrl-home": ["vim::StartOfLine", { "display_lines": false }],
"ctrl-shift-home": null,
@@ -367,13 +394,25 @@
"ctrl-e": "vim::NextSubwordEnd",
"ctrl-E": "vim::PreviousSubwordEnd",
- "f": ["vim::PushFindForward", { "before": false, "multiline": false }],
- "F": ["vim::PushFindBackward", { "after": false, "multiline": false }],
+ "f": [
+ "vim::PushFindForward",
+ { "before": false, "multiline": false },
+ ],
+ "F": [
+ "vim::PushFindBackward",
+ { "after": false, "multiline": false },
+ ],
"ctrl-f": "vim::RepeatFind",
"ctrl-F": "vim::RepeatFindReversed",
- "g": ["vim::PushFindForward", { "before": true, "multiline": false }],
- "G": ["vim::PushFindBackward", { "after": true, "multiline": false }],
+ "g": [
+ "vim::PushFindForward",
+ { "before": true, "multiline": false },
+ ],
+ "G": [
+ "vim::PushFindBackward",
+ { "after": true, "multiline": false },
+ ],
"ctrl-g": "vim::RepeatFind",
"ctrl-G": "vim::RepeatFindReversed",
@@ -591,7 +630,10 @@
"ctrl-o": null,
"ctrl-O": null,
- "p": ["vim::Paste", { "preserve_clipboard": true, "before": false }],
+ "p": [
+ "vim::Paste",
+ { "preserve_clipboard": true, "before": false },
+ ],
"P": ["vim::Paste", { "preserve_clipboard": true, "before": true }],
"ctrl-p": null,
"ctrl-P": null,
@@ -632,7 +674,10 @@
"+": "vim::Increment",
"-": "vim::Decrement",
- "home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
+ "home": [
+ "editor::SelectToBeginningOfLine",
+ { "stop_at_soft_wraps": true, "stop_at_indent": true },
+ ],
"delete": "vim::VisualDelete",
"shift-delete": null,
diff --git a/zed/settings.json b/zed/settings.json
@@ -71,8 +71,8 @@
},
},
},
- "CSS": { "formatter": "none" },
"HTML": { "formatter": "none" },
+ "CSS": { "formatter": "none" },
"JavaScript": { "formatter": "none" },
"TypeScript": { "formatter": "none" },
"Plain Text": {
@@ -83,7 +83,7 @@
// Disable some crap
"disable_ai": true,
- "collaboration_panel": { "button": false },
+ "collaboration_panel": { "dock": "left", "button": false },
"tab_bar": {
"show_nav_history_buttons": false,
"show_tab_bar_buttons": false,