From 0ee7271e48c26a307c1c8e0a79fc48f9f0ca01c3 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Fri, 21 Nov 2025 11:22:51 -0300 Subject: [PATCH] Allow onboarding pages to be zoomed in/out (#43244) We were just missing adding keybindings for these. Release Notes: - onboarding: The onboarding pages can now be zoomed in/out with the same keybindings you'd use to zoom in/out a regular buffer. --- assets/keymaps/default-linux.json | 14 ++++++++++++++ assets/keymaps/default-macos.json | 14 ++++++++++++++ assets/keymaps/default-windows.json | 14 ++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json index c69ce1d40a..4a6421c4e1 100644 --- a/assets/keymaps/default-linux.json +++ b/assets/keymaps/default-linux.json @@ -1251,11 +1251,25 @@ "context": "Onboarding", "use_key_equivalents": true, "bindings": { + "ctrl-=": ["zed::IncreaseUiFontSize", { "persist": false }], + "ctrl-+": ["zed::IncreaseUiFontSize", { "persist": false }], + "ctrl--": ["zed::DecreaseUiFontSize", { "persist": false }], + "ctrl-0": ["zed::ResetUiFontSize", { "persist": false }], "ctrl-enter": "onboarding::Finish", "alt-shift-l": "onboarding::SignIn", "alt-shift-a": "onboarding::OpenAccount" } }, + { + "context": "Welcome", + "use_key_equivalents": true, + "bindings": { + "ctrl-=": ["zed::IncreaseUiFontSize", { "persist": false }], + "ctrl-+": ["zed::IncreaseUiFontSize", { "persist": false }], + "ctrl--": ["zed::DecreaseUiFontSize", { "persist": false }], + "ctrl-0": ["zed::ResetUiFontSize", { "persist": false }] + } + }, { "context": "InvalidBuffer", "use_key_equivalents": true, diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json index aa47e20812..8790acf906 100644 --- a/assets/keymaps/default-macos.json +++ b/assets/keymaps/default-macos.json @@ -1356,11 +1356,25 @@ "context": "Onboarding", "use_key_equivalents": true, "bindings": { + "cmd-=": ["zed::IncreaseUiFontSize", { "persist": false }], + "cmd-+": ["zed::IncreaseUiFontSize", { "persist": false }], + "cmd--": ["zed::DecreaseUiFontSize", { "persist": false }], + "cmd-0": ["zed::ResetUiFontSize", { "persist": false }], "cmd-enter": "onboarding::Finish", "alt-tab": "onboarding::SignIn", "alt-shift-a": "onboarding::OpenAccount" } }, + { + "context": "Welcome", + "use_key_equivalents": true, + "bindings": { + "cmd-=": ["zed::IncreaseUiFontSize", { "persist": false }], + "cmd-+": ["zed::IncreaseUiFontSize", { "persist": false }], + "cmd--": ["zed::DecreaseUiFontSize", { "persist": false }], + "cmd-0": ["zed::ResetUiFontSize", { "persist": false }] + } + }, { "context": "InvalidBuffer", "use_key_equivalents": true, diff --git a/assets/keymaps/default-windows.json b/assets/keymaps/default-windows.json index b37d750a4e..1144eac80b 100644 --- a/assets/keymaps/default-windows.json +++ b/assets/keymaps/default-windows.json @@ -1285,11 +1285,25 @@ "context": "Onboarding", "use_key_equivalents": true, "bindings": { + "ctrl-=": ["zed::IncreaseUiFontSize", { "persist": false }], + "ctrl-+": ["zed::IncreaseUiFontSize", { "persist": false }], + "ctrl--": ["zed::DecreaseUiFontSize", { "persist": false }], + "ctrl-0": ["zed::ResetUiFontSize", { "persist": false }], "ctrl-enter": "onboarding::Finish", "alt-shift-l": "onboarding::SignIn", "shift-alt-a": "onboarding::OpenAccount" } }, + { + "context": "Welcome", + "use_key_equivalents": true, + "bindings": { + "ctrl-=": ["zed::IncreaseUiFontSize", { "persist": false }], + "ctrl-+": ["zed::IncreaseUiFontSize", { "persist": false }], + "ctrl--": ["zed::DecreaseUiFontSize", { "persist": false }], + "ctrl-0": ["zed::ResetUiFontSize", { "persist": false }] + } + }, { "context": "GitWorktreeSelector || (GitWorktreeSelector > Picker > Editor)", "use_key_equivalents": true,