vim: Fix : on welcome screen (#20937)

Conrad Irwin created

Release Notes:

- vim: Fixed `:` on the welcome screen

Change summary

assets/keymaps/vim.json       | 2 +-
crates/welcome/src/welcome.rs | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)

Detailed changes

assets/keymaps/vim.json 🔗

@@ -577,7 +577,7 @@
     }
   },
   {
-    "context": "EmptyPane || SharedScreen || MarkdownPreview || KeyContextView",
+    "context": "EmptyPane || SharedScreen || MarkdownPreview || KeyContextView || Welcome",
     "use_layout_keys": true,
     "bindings": {
       ":": "command_palette::Toggle",

crates/welcome/src/welcome.rs 🔗

@@ -73,6 +73,7 @@ impl Render for WelcomePage {
         h_flex()
             .size_full()
             .bg(cx.theme().colors().editor_background)
+            .key_context("Welcome")
             .track_focus(&self.focus_handle(cx))
             .child(
                 v_flex()