vim: Fix : on welcome screen (#20937)
Release Notes: - vim: Fixed `:` on the welcome screen
This commit is contained in:
parent
a03770837e
commit
37a59d6b2e
2 changed files with 2 additions and 1 deletions
|
@ -577,7 +577,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "EmptyPane || SharedScreen || MarkdownPreview || KeyContextView",
|
"context": "EmptyPane || SharedScreen || MarkdownPreview || KeyContextView || Welcome",
|
||||||
"use_layout_keys": true,
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
":": "command_palette::Toggle",
|
":": "command_palette::Toggle",
|
||||||
|
|
|
@ -73,6 +73,7 @@ impl Render for WelcomePage {
|
||||||
h_flex()
|
h_flex()
|
||||||
.size_full()
|
.size_full()
|
||||||
.bg(cx.theme().colors().editor_background)
|
.bg(cx.theme().colors().editor_background)
|
||||||
|
.key_context("Welcome")
|
||||||
.track_focus(&self.focus_handle(cx))
|
.track_focus(&self.focus_handle(cx))
|
||||||
.child(
|
.child(
|
||||||
v_flex()
|
v_flex()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue