vim: Fix : on welcome screen (#20937)

Release Notes:

- vim: Fixed `:` on the welcome screen
This commit is contained in:
Conrad Irwin 2024-11-20 19:21:22 -07:00 committed by GitHub
parent a03770837e
commit 37a59d6b2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -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()